Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Coding Corner
You last visited: Today at 16:11

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Weird jmx behavior with some data structures

Discussion on Weird jmx behavior with some data structures within the SRO Coding Corner forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2013
Posts: 79
Received Thanks: 10
Weird jmx behavior with some data structures

Hello there reverse engineers fellows
for the past couple of weeks i was reversing a certain class to made some changes to it

well you know the changes has been working but yet bugged but that wasn't a problem while you dig deep into the class methods

while i was digging deep i stopped on special case of implementing some kind of an associative container as a class member holds 2 types of pointers in which i guess a sorted way[key, value], well we will get into it but let me first clarify some facts so you can get the picture in your mind by looking to this block of code

  • the class member at offset 0x0374 which i assume it's std::n_map, why map not a hash_map dude? because the very following member at offset 0x380 was an inceamental int represents a ResObjId (AKA GDR_xxxx) of a CGWnd and that int member is the last member of this class so by subtract them it gives me the size of that weird member which is 0xC, well this could be either map or set, let's move on
  • v9 should be the iterator but here it comes the weird thing, the offsets the follows it which in turn calls a vft methods as you might figured out, those functions as in there offsets are MoveGWnd *** dammit
  • so MoveGWnd called from 2 different pointers as the size following the iterator(v9 + 16, v9 + 20), okay what is that could mean? well it could mean we have a paired key[index, ptr] && a paired mapped value [ptr, index]
  • Okay sounds good where's the problem then? well i'll tell you, you see that check with v12, that's what i assumed it's the UINT8 index of this CGWnd which is v9 + 25? wait! what? 25? if it's a paired mapped value then it should be 24 not 25, yes i agree, so i maybe newbie or didn't see enough use case of maps, but i didn't see such this kind of sorted maps, i can't even tell it's a 2d maps cause it will need two loops


so did you guys experienced such case before?
ZeonNETWORK is offline  
Reply


Similar Threads Similar Threads
Weird CE behavior; P -> ???
06/09/2021 - General Coding - 2 Replies
Hey com, lately i've been playing around in CE on a new game i found and a weird problem occurred, that i've never seen before. I did some pointerscans and got promising results. They work absolutely fine until i open the Memory View for the first time. I just need to open and close the Memory View and the Pointers in the Table still work fine until i try to edit the address. Then they suddenly break and it seems like CE can't follow the path anymore. I got you some screens right...
[Release] Advanced Python Data Structures
11/30/2017 - Metin2 PServer Guides & Strategies - 1 Replies
#@../root/ui.py #@Search for: def RegisterToolTipWindow(type, createToolTipWindow): createToolTipWindowDict=createToolTipWindow #@Add after: ####################################### #### START OF REGISTER STRUCT CLASS #### """ How To Use Ex: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Weird.... Just weird ( inside )
08/05/2011 - Shaiya Private Server - 14 Replies
Windows 2008 webserver S2 , service pack 4 , 64 bit Os. when i go to install Sql 2005 it does its little pre install check list, well i get a warning on asp.net , it tells me that 64 bit is installed and mysql report services require 32 bit.. So i sorta stumble around a bit, well i ran across Banes tut on sql 2008 , so i thought allright lets try it. as i click on the installserver.bat for the client,, the cmd prompt comes up, goes thew it steps, then tells me that Shaiya is not...



All times are GMT +1. The time now is 16:12.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.