Difference between revisions of "KSession"

From 3dbrew
Jump to navigation Jump to search
m
Line 11: Line 11:
 
|-
 
|-
 
| 0x0
 
| 0x0
| u32
+
| [[KAutoObject]]
| Pointer to vtable
+
| Base object
|-
 
| 0x4
 
| u32
 
| Reference count
 
 
|-
 
|-
 
| 0x20
 
| 0x20
| KThread*
+
| [[KThread]]*
 
| X ?
 
| X ?
 
|-
 
|-
 
| 0x24
 
| 0x24
| KThread*
+
| [[KThread]]*
 
| Y ?
 
| Y ?
 
|-
 
|-
 
| 0x2C
 
| 0x2C
| KThread*
+
| [[KThread]]*
 
| Z ?
 
| Z ?
 
|}
 
|}
Line 44: Line 40:
 
|-
 
|-
 
| 0x0
 
| 0x0
| u32
+
| [[KAutoObject]]
| Pointer to vtable
+
| Base object
|-
 
| 0x4
 
| u32
 
| Reference count
 
 
|-
 
|-
 
| 0x8
 
| 0x8
| KServerSession  
+
| [[KServerSession]]
 
| Server side object for the session
 
| Server side object for the session
 
|-
 
|-
 
| 0x2C
 
| 0x2C
| KClientSession  
+
| [[KClientSession]]
 
| Client side object for the session
 
| Client side object for the session
 
|-
 
|-

Revision as of 04:05, 31 January 2016

class KSession extends KAutoObject;

Size : 0x4C bytes

Offset Type Description
0x0 KAutoObject Base object
0x20 KThread* X ?
0x24 KThread* Y ?
0x2C KThread* Z ?

It seems X=Y=Z. X, Y and Z can be NULL.


Structure for 7.0.0-13 NATIVE_FIRM upward:

Size : 0x4C bytes

Offset Type Description
0x0 KAutoObject Base object
0x8 KServerSession Server side object for the session
0x2C KClientSession Client side object for the session