Skip to content

Commit 529a338

Browse files
author
夏李立
committed
tmp
1 parent 44ed426 commit 529a338

File tree

2 files changed

+361
-18
lines changed

2 files changed

+361
-18
lines changed

OCS/OCSPatch/OCSVirtualMachine/OCSVirtualMachine/OCSEngine/OCSVM_code.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ typedef struct OCS_Char_t {
5656

5757
typedef struct OCS_StructType_t {
5858
int32_t _0x0;
59-
__unsafe_unretained OCSTypeStruct *typeStruct; // +0x4
59+
__unsafe_unretained OCSTypeStruct *typeStruct; // +0x4 | 64 +0x8
6060
} OCS_StructType;
6161

6262
typedef NS_ENUM(NSUInteger, OCSStrucValueType) {
@@ -67,7 +67,7 @@ typedef NS_ENUM(NSUInteger, OCSStrucValueType) {
6767
typedef struct OCS_Struct_t {
6868
OCS_StructType *structType; // +0x0
6969
OCSStrucValueType type; // +0x4
70-
void * value; // +0x8
70+
void * value; // +0x8 | 64 +0x10
7171
} OCS_Struct; // +0xc
7272

7373
typedef NS_ENUM(NSUInteger, OCSValueTag) {
@@ -130,7 +130,7 @@ typedef struct {
130130
size_t codeSize; // +0x0
131131
const char *buf; // +0x4 |64 +0x8
132132
int32_t constPoolCount; // +0x8
133-
OCS_ConstantPool *constPool; // +0xc
133+
OCS_ConstantPool *constPool; // +0xc |64 +0x18
134134
int32_t localVarCount; // +0x10 |64 +0x20
135135
int32_t stackSize; // +0x14 |64 +0x28
136136
CFStringRef method; // +0x18 -|initWithModel:param:|@@:@@ |64 +0x30
@@ -146,7 +146,7 @@ typedef struct OCS_StackBlock_t {
146146

147147
typedef struct OCS_Frame_t {
148148
struct OCS_Frame_t *back; // +0x0
149-
// +0x4
149+
void* localVarPointer; // +0x4 | 64 +0x8
150150
int32_t pc; // class +0x8 |64 +0x10
151151
OCS_CodeBlock *codeBlock; // +0xc |64 +0x18
152152
OCS_Class *cls; // +0x10 |64 +0x20

0 commit comments

Comments
 (0)