|
Welcome to the GSM-Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. Only registered members may post questions, contact other members or search our database of over 8 million posts. Registration is fast, simple and absolutely free so please - Click to REGISTER! If you have any problems with the registration process or your account login, please contact contact us . |
|
Register | FAQ | Donate | Forum Rules | Root any Device | ★iPhone Unlock★ | ★ Direct Codes ★ | Direct Unlock Source |
GSM Programming & Reverse Engineering Here you can post all Kind of GSM Programming and Reverse Engineering tools and Secrets. |
| LinkBack | Thread Tools | Display Modes |
02-09-2006, 11:38 | #1 (permalink) |
Freak Poster Join Date: Jul 2004 Age: 52
Posts: 126
Member: 75583 Status: Offline Thanks Meter: 6 | Nokia Object Oriented Model by Yak /* Nokia Object Oriented Model --------------------------- Such object oriented model can be found in most if not all DCT4 phones and also in 7110/6210 (DCT3). Reversed by [Yak] */ typedef struct { Class *Class; // Object's private data follow } Object; typedef struct { unsigned short ID; unsigned (*Handler)(Object *This, unsigned short MethodID, unsigned Arg0, unsigned Arg1, unsigned Arg2); } Method; typedef struct { Class *Class; Class *SuperClass; Method *Methods; // table of methods, last one has ID == M_C_END unsigned short MethodsCount; unsigned short ObjectSize; char *Name; } Class; /* calling methods on objects */ unsigned DoMethod(Object *O, unsigned short MethodID); unsigned DoMethod1(Object *O, unsigned short MethodID, unsigned Arg0); unsigned DoMethod2(Object *O, unsigned short MethodID, unsigned Arg0, unsigned Arg1); unsigned DoMethod3(Object *O, unsigned short MethodID, unsigned Arg0, unsigned Arg1, unsigned Arg2); /* calling methods of superclass; used in class methods handlers */ unsigned DoClassSuperMethod(Class *C, Obejct *O, unsigned short MethodID, unsigned Arg0, unsigned Arg1, unsigned Arg2); #define M_IS_OF_CLASS (0xC000) #define M_GET_METHOD_HANDLER (0xC001) #define M_GET_CLASS (0xC002) #define M_NEW (0xC003) #define M_CONSTRUCTOR (0xC004) #define M_DELETE (0xC005) #define M_DESTRUCTOR (0xC006) #define M_C_END (0x0000) #define M_C_ANY (0xffff) /* M_IS_OF_CLASS ------------- ret = DoMethod1(object, M_IS_OF_CLASS, class); Checks if <object> is derived from specified <class>. Returns 1 if yes or 0 if no. M_GET_METHOD_HANDLER -------------------- handler = DoMethod1(object, M_GET_METHOD_HANDLER, method_id); Returns the method handling function pointer for specified <method_id>. Returns NULL if <object> doesn't support <method_id> method. M_GET_CLASS ----------- class = DoMethod(object, M_GET_CLASS); Returns a pointer to <object>'s class. M_NEW ----- object = DoMethod(former, M_NEW); object = DoMethod1(former, M_NEW, space); object = DoMethod2(former, M_NEW, space, arg1); object = DoMethod3(former, M_NEW, space, arg1, arg2); Creates a new object and returns a pointer to it. The <former> can be either an already existing object of some class or directly a class pointer. If <space> is specified and not NULL, no memory is allocated, instead, the object is created at the address specified by <space> (be sure to have enough space there). After creating, M_CONSTRUCTOR method is called. All the arguments are passed to it. M_CONSTRUCTOR ------------- DoMethod(object, M_CONSTRUCTOR); DoMethod1(object, M_CONSTRUCTOR, arg0); DoMethod2(object, M_CONSTRUCTOR, arg0, arg1); DoMethod3(object, M_CONSTRUCTOR, arg0, arg1, arg2); Initializes an object. If called from M_NEW received its <space> argument as <arg0>. M_DELETE -------- DoMethod(object, M_DELETE); Deletes an object. However, before it is done, M_DESTRUCTOR is called to deinitialize the object (free its all resources). M_DESTRUCTOR ------------ DoMethod(object, M_DESTRUCTOR); Deinitializes an object. M_C_END ------- Special ID used to mark the end of methods table in a class. M_C_ANY ------- Special ID used to mark a method in methods table of a class. Such a method will be called for any method called on the object. */ /* Addresses: DoMethod() .............: 8310 v6.20 at 0x12cec02 DoMethod1() ............: 8310 v6.20 at 0x12cebdc DoMethod2() ............: 8310 v6.20 at 0x12cebb4 DoMethod3() ............: 8310 v6.20 at 0x12ceb8c DoClassSuperMethod() ...: 8310 v6.20 at 0x12cec24 Object (abstract) ......: root class, all other are subclasses of this one. 8310 v6.20 at 0x14e215c */ thanks to yak, this came from his post at nokiafree.org regards http://www.blutacgsm.net/forums/show...?p=587#post587 or http://nokiafree.org/forums/t79028/h/s.html |
03-01-2006, 05:12 | #3 (permalink) |
Freak Poster Join Date: Jul 2004 Age: 52
Posts: 126
Member: 75583 Status: Offline Thanks Meter: 6 | [alphaRelease] DCT4 Object Analyzer updated.... check this link.. http://krisha.dyndns.org/handy/dct4_object_analyzer.exe http://krisha.dyndns.org/handy/QtDlls.zip http://krisha.dyndns.org/handy/zeph.exe or visit here...http://www.gsmfreeboard.com/forum/sh...d.php?t=123330 |
03-01-2006, 11:22 | #7 (permalink) |
No Life Poster Join Date: Apr 2004 Location: Skopje , Macedonia Age: 40
Posts: 916
Member: 61851 Status: Offline Sonork: 100.1604862 Thanks Meter: 117 | Can you please also send me,I want to try something. iledimoski(at)gmail.com Thanks I found it no need to send it.Thanks again for info about it |
03-10-2006, 09:58 | #13 (permalink) |
Junior Member Join Date: May 2005
Posts: 6
Member: 142832 Status: Offline Thanks Meter: 1 | ISP had some problems, server should now work again. *updated to version 0.7* same url changes: - speeded up loading of decrypted flash files - added XReferences - find will scroll to the first discovery - Save as Textfile added, so you now can edit, name the Objects, save it and share with others - some other improvements |
Bookmarks |
| |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Open source my OIOIC, a completely new object-oriented mechanism for the C. | pervise.zhao | GSM Programming & Reverse Engineering | 1 | 05-22-2009 07:13 |
Introduction to Object Oriented Programming | ::Yasir:: | GSM Programming & Reverse Engineering | 48 | 05-22-2009 06:56 |
NokiX SDK V2 and Nokix 1.3 release by yak | watusi2 | GSM Programming & Reverse Engineering | 8 | 03-10-2007 04:55 |
NokiX SDK V2 beta version release by yak | watusi2 | GSM Programming & Reverse Engineering | 0 | 12-27-2005 04:49 |
|