yuanshen/Yuanshen.Proto/monsterappear.c
wisedev fc2ac1050f First working version of the server
KCP gameserver with packet dispatch, scene streaming, combat, gacha and the
shop, plus a small HTTP server for the login flow and the wish history page.

Game data under assets is pulled out of the client instead of being typed by
hand. The excel tables come from the packed bin container and the spawn points
from the compiled scene scripts.
2026-09-04 02:10:50 +03:00

1369 lines
No EOL
50 KiB
C

KNDKHJJGFCH_o *MoleMole_MonsterModule__MonsterAppear(
PKCOJHMAMBJ_o *this,
LPOKKDOALBB_o *ENBIKBJGIMC,
int32_t ELCJPLKDDNM,
KNDKHJJGFCH_o *KILPGGHEMKN,
const MethodInfo *method)
{
KNDKHJJGFCH_o *v9; // r15
XLua_DelegateBridge_o *Hotfix0_MonsterAppear; // rcx
__int64 *v11; // r14
__int64 v12; // rcx
LPOKKDOALBB_o *v13; // rcx
LPOKKDOALBB_o *v14; // rcx
EKMJGDEKEOC_o *Monster; // rbx
LPOKKDOALBB_o *v16; // rcx
AKAAJHKGGKM_o *MotionInfo; // rax
__int64 v18; // rcx
FHMKHKCEDOC_o *Pos; // rax
UnityEngine_Vector3_o *MonsterPos; // rax
__int64 v21; // xmm7_8
LPOKKDOALBB_o *v22; // rcx
AKAAJHKGGKM_o *v23; // rax
__int64 v24; // rcx
FHMKHKCEDOC_o *Rot; // rax
__int64 v26; // rcx
float Y; // xmm6_4
LPOKKDOALBB_o *v28; // rcx
EKMJGDEKEOC_o *v29; // rax
__int64 v30; // rcx
LPOKKDOALBB_o *v31; // rcx
EILMNFGJKAB_CDILBNABPMB__o *AnimatorParaList; // rax
__int64 v33; // rcx
__int64 v34; // rcx
System_Collections_Generic_IEnumerator_T__o *Enumerator; // rbx
System_Collections_Generic_IEnumerator_T__c *klass; // r11
unsigned __int16 v37; // cx
uint16_t interface_offsets_count; // r8
Il2CppRuntimeInterfaceOffsetPair *interfaceOffsets; // r9
__int64 v40; // rax
System_Collections_Generic_IEnumerator_T__c *v41; // r11
unsigned __int16 v42; // cx
uint16_t v43; // r8
Il2CppRuntimeInterfaceOffsetPair *v44; // r9
__int64 v45; // rax
CDILBNABPMB_o *v46; // rax
__int64 v47; // rcx
CDILBNABPMB_o *v48; // rdi
int32_t NameId; // esi
ANHLKBNDOOB_c *v50; // rax
COMJGFDGJJE_o *AnimatorPara; // rax
__int64 v52; // rcx
float v53; // esi
System_Collections_Generic_IEnumerator_T__c *v54; // r11
unsigned __int16 v55; // cx
uint16_t v56; // r8
Il2CppRuntimeInterfaceOffsetPair *v57; // r9
__int64 v58; // rax
NDFCHNCBHFB_o *Instance; // rbx
LPOKKDOALBB_o *v60; // rcx
uint32_t EntityId; // eax
__int64 v62; // rcx
IFPCMELBFIE_o *DataItemByEntityId_MoleMole_MonsterDataItem; // rbx
LPOKKDOALBB_o *v64; // rcx
EKMJGDEKEOC_o *v65; // rax
__int64 v66; // rcx
uint32_t BlockId; // eax
__int64 v68; // rcx
__int64 v69; // rbx
LPOKKDOALBB_o *v70; // rcx
EKMJGDEKEOC_o *v71; // rax
__int64 v72; // rcx
uint32_t GroupId; // eax
__int64 v74; // rcx
__int64 v75; // rbx
LPOKKDOALBB_o *v76; // rcx
EKMJGDEKEOC_o *v77; // rax
__int64 v78; // rcx
uint32_t MarkFlag; // eax
__int64 v80; // rcx
__int64 v81; // rbx
LPOKKDOALBB_o *v82; // rcx
EKMJGDEKEOC_o *v83; // rax
__int64 v84; // rcx
uint32_t ConfigId; // eax
__int64 v86; // rcx
__int64 v87; // rbx
LPOKKDOALBB_o *v88; // rcx
EKMJGDEKEOC_o *v89; // rax
__int64 v90; // rcx
uint32_t MonsterId; // eax
__int64 v92; // rcx
__int64 v93; // rbx
LPOKKDOALBB_o *v94; // rcx
EKMJGDEKEOC_o *v95; // rax
__int64 v96; // rcx
uint32_t TitleId; // eax
__int64 v98; // rcx
__int64 v99; // rbx
LPOKKDOALBB_o *v100; // rcx
EKMJGDEKEOC_o *v101; // rax
__int64 v102; // rcx
uint32_t SpecialNameId; // eax
__int64 v104; // rcx
__int64 v105; // rbx
LPOKKDOALBB_o *v106; // rcx
EKMJGDEKEOC_o *v107; // rax
__int64 v108; // rcx
bool IsElite; // al
__int64 v110; // rcx
__int64 v111; // rbx
__int64 v112; // rbx
LPOKKDOALBB_o *v113; // rcx
EKMJGDEKEOC_o *v114; // rax
__int64 v115; // rcx
uint32_t v116; // eax
__int64 v117; // rcx
LPOKKDOALBB_o *v118; // rcx
__int64 v119; // rcx
LPOKKDOALBB_o *v120; // rcx
EKMJGDEKEOC_o *v121; // rdi
LPOKKDOALBB_o *v122; // rcx
LKPELPDHNKL_o *AiInfo; // rax
__int64 v124; // rcx
FHMKHKCEDOC_o *BornPos; // rax
UnityEngine_Vector3_o *v126; // rax
__int64 v127; // xmm0_8
float v128; // ecx
LPOKKDOALBB_o *v129; // rcx
LKPELPDHNKL_o *v130; // rax
__int64 v131; // rcx
LPOKKDOALBB_o *v132; // rcx
LKPELPDHNKL_o *v133; // rax
__int64 v134; // rcx
PIPACJIJPMC_o *ServantInfo; // rax
__int64 v136; // rcx
LPOKKDOALBB_o *v137; // rcx
LKPELPDHNKL_o *v138; // rax
__int64 v139; // rcx
PIPACJIJPMC_o *v140; // rax
__int64 v141; // rcx
LPOKKDOALBB_o *v142; // rcx
LKPELPDHNKL_o *v143; // rax
__int64 v144; // rcx
LPOKKDOALBB_o *v145; // rcx
LKPELPDHNKL_o *v146; // rax
__int64 v147; // rcx
__int64 v148; // rax
System_Collections_Generic_List_uint__o *v149; // rcx
int32_t v150; // ebx
int32_t i; // edi
LPOKKDOALBB_o *v152; // rcx
EKMJGDEKEOC_o *v153; // rax
__int64 v154; // rcx
EILMNFGJKAB_uint__o *AffixList; // rax
__int64 v156; // rcx
__int64 v157; // rcx
__int64 v158; // rax
System_Collections_Generic_List_uint__o *v159; // rdi
LPOKKDOALBB_o *v160; // rcx
EKMJGDEKEOC_o *v161; // rax
__int64 v162; // rcx
EILMNFGJKAB_uint__o *v163; // rax
__int64 v164; // rcx
uint32_t Item; // eax
__int64 v166; // rcx
__int64 v167; // rbx
LPOKKDOALBB_o *v168; // rcx
EKMJGDEKEOC_o *v169; // rax
__int64 v170; // rcx
uint32_t SummonedTag; // eax
__int64 v172; // rcx
IFPCMELBFIE_o *v173; // rbx
LPOKKDOALBB_o *v174; // rcx
EKMJGDEKEOC_o *v175; // rax
__int64 v176; // rcx
FEAOILDJKLA_uint__uint__o *SummonTagMap; // rax
__int64 v178; // rcx
IFPCMELBFIE_o *v179; // rbx
LPOKKDOALBB_o *v180; // rcx
EKMJGDEKEOC_o *v181; // rax
__int64 v182; // rcx
EILMNFGJKAB_PIFCIPKGNDD__o *WeaponList; // rax
__int64 v184; // rcx
__int64 v185; // rcx
__int64 v186; // rax
NDFCHNCBHFB_o *v187; // rax
__int64 v188; // rcx
__int64 v189; // rdx
__int64 HLHGAMHBJNB; // rcx
NDFCHNCBHFB_o *v191; // rax
__int64 v192; // rcx
__int64 v193; // rcx
LPOKKDOALBB_o *v194; // rcx
Il2CppObject *v195; // rbx
System_String_o *v196; // rbx
uint32_t v197; // ebx
__int64 v198; // rax
LPOKKDOALBB_o *v199; // rcx
EKMJGDEKEOC_o *v200; // rax
__int64 v201; // rcx
LPOKKDOALBB_o *v202; // rcx
__int64 v203; // rcx
NDFCHNCBHFB_o *v204; // rax
__int64 v205; // rcx
EPGMIIAMBIN_o *curLevel; // rax
__int64 v207; // rcx
__int64 v208; // rcx
char v209; // r12
System_Collections_Generic_List_uint__o *v210; // r13
LPOKKDOALBB_o *v211; // rcx
EKMJGDEKEOC_o *v212; // rax
__int64 v213; // rcx
uint32_t v214; // edi
IFPCMELBFIE_o *v215; // rsi
KNDKHJJGFCH_o *v216; // rax
__int64 v217; // rcx
KNDKHJJGFCH_o *v218; // r13
System_Delegate_o *onEntityReadyPreCallback; // rsi
intptr_t v220; // rbx
__int64 *v221; // rdi
System_Delegate_o *v222; // rcx
System_Delegate_o *v223; // rax
NDFCHNCBHFB_o *v224; // rax
__int64 v225; // rcx
NDFCHNCBHFB_o *v226; // rax
__int64 v227; // rcx
KNDKHJJGFCH_o *levelEntity; // rax
__int64 v229; // rcx
LPOKKDOALBB_o *v230; // rcx
Il2CppObject *v231; // rbx
System_String_o *v232; // rbx
KNDKHJJGFCH_o *v233; // rcx
__int64 *v234; // rbx
__int64 v235; // rcx
__int64 v236; // r8
__int64 v237; // r10
NDFCHNCBHFB_o *v238; // rax
__int64 v239; // rcx
__int64 v240; // rbx
LPOKKDOALBB_o *v241; // rcx
EKMJGDEKEOC_o *v242; // rax
__int64 v243; // rcx
uint32_t OwnerEntityId; // eax
__int64 v245; // rcx
NDFCHNCBHFB_o *v246; // rax
__int64 v247; // rcx
KNDKHJJGFCH_o *v248; // rax
__int64 v249; // rcx
HOGGOIDIKNN_o *LCLevelComponent; // rbx
KNDKHJJGFCH_o *v251; // rdi
LPOKKDOALBB_o *v252; // rcx
GKHLJKOAMPN_o *AbilityInfo; // rax
__int64 v254; // rcx
NDFCHNCBHFB_o *v255; // rax
__int64 v256; // rcx
NDFCHNCBHFB_o *v257; // rax
__int64 v258; // rcx
KNDKHJJGFCH_o *v259; // rax
__int64 v260; // rcx
HOGGOIDIKNN_o *v261; // rbx
LPOKKDOALBB_o *v262; // rcx
uint32_t v263; // eax
__int64 v264; // rcx
__int64 v265; // rcx
KNDKHJJGFCH_o *v266; // rbx
LPOKKDOALBB_o *v267; // rcx
EKMJGDEKEOC_o *v268; // rax
__int64 v269; // rcx
uint32_t AuthorityPeerId; // eax
__int64 v271; // rcx
AKDONEDGHJE_o *v272; // rbx
LPOKKDOALBB_o *v273; // rcx
EILMNFGJKAB_BMGABGGIPPG__o *PropList; // rax
__int64 v275; // rcx
AKDONEDGHJE_o *v276; // rbx
LPOKKDOALBB_o *v277; // rcx
EILMNFGJKAB_NEIHMNAKKDA__o *FightPropList; // rax
__int64 v279; // rcx
__int64 v280; // rcx
System_String_o *v281; // rbx
System_String_o *v282; // rbx
NDFCHNCBHFB_o *v283; // rax
__int64 v284; // rcx
HBOAGJLFNGB_o *CurLoadingTask; // rax
__int64 v286; // rcx
NDFCHNCBHFB_o *v287; // rax
__int64 v288; // rcx
NDFCHNCBHFB_o *v289; // rax
__int64 v290; // rcx
KNDKHJJGFCH_o *v291; // rcx
__int64 v292; // rcx
__int64 v293; // r13
System_Delegate_o *v294; // rsi
intptr_t v295; // rbx
__int64 *v296; // rdi
System_Delegate_o *v297; // rcx
System_Delegate_o *v298; // rax
NDFCHNCBHFB_o *v299; // rax
__int64 v300; // rcx
KNDKHJJGFCH_o *v301; // rax
__int64 v302; // rcx
HOGGOIDIKNN_o *v303; // rbx
KNDKHJJGFCH_o *v304; // rdi
LPOKKDOALBB_o *v305; // rcx
GKHLJKOAMPN_o *v306; // rax
__int64 v307; // rcx
KNDKHJJGFCH_o *v308; // rcx
Il2CppObject *v309; // r13
__int64 v310; // rcx
LPOKKDOALBB_o *v311; // rcx
EILMNFGJKAB_CDILBNABPMB__o *v312; // rax
__int64 v313; // rcx
LPOKKDOALBB_o *v314; // rcx
__int64 v315; // rcx
FHGLJBHOLDO_o *v316; // rax
LPOKKDOALBB_o *v317; // rcx
FHGLJBHOLDO_o *v318; // rax
__int64 v319; // rcx
__int64 v320; // r12
System_Delegate_o *v321; // rsi
intptr_t v322; // rbx
__int64 *v323; // rdi
System_Delegate_o *v324; // rax
MEPDEGIFKHM_o *MoleMole_EvtEntityRemoved; // rbx
KNDKHJJGFCH_o *v326; // rcx
uint32_t runtimeID; // eax
__int64 v328; // rcx
NDFCHNCBHFB_o *v329; // rax
__int64 v330; // rcx
KNDKHJJGFCH_o *v331; // rbx
LPOKKDOALBB_o *v332; // rcx
EILMNFGJKAB_CDILBNABPMB__o *v333; // rdi
KNDKHJJGFCH_o *v334; // rbx
LPOKKDOALBB_o *v335; // rcx
FHGLJBHOLDO_o *RendererChangedInfo; // rax
KNDKHJJGFCH_o *v337; // rbx
LPOKKDOALBB_o *v338; // rcx
EKMJGDEKEOC_o *v339; // rax
__int64 v340; // rcx
uint32_t AttackTargetId; // eax
IFix_ILFixDynamicMethodWrapper_1_o *Patch_6504200528; // rax
__int64 v344; // rcx
bool IsLoadObjectAsync; // [rsp+90h] [rbp-C8h]
UnityEngine_Vector3_o v347; // [rsp+A0h] [rbp-B8h] BYREF
uint32_t v348; // [rsp+B0h] [rbp-A8h]
__int64 v349; // [rsp+B8h] [rbp-A0h] BYREF
__int128 v350; // [rsp+C0h] [rbp-98h] BYREF
float z; // [rsp+D0h] [rbp-88h]
uint32_t PoseId; // [rsp+D4h] [rbp-84h]
__int64 v353; // [rsp+D8h] [rbp-80h]
__int64 v354; // [rsp+E0h] [rbp-78h]
__int64 *v355; // [rsp+E8h] [rbp-70h]
__int64 v356; // [rsp+F0h] [rbp-68h]
__int64 v357; // [rsp+F8h] [rbp-60h]
v356 = -2LL;
if ( !byte_18BF6E9A4 )
{
sub_187B5E280(0x4C2F2u);
byte_18BF6E9A4 = 1;
}
v357 = Method_MoleMole_MonsterModule_MonsterAppear__;
v354 = Method_MoleMole_MonsterModule_MonsterAppear__;
v9 = 0LL;
v348 = 0;
Hotfix0_MonsterAppear = MoleMole_MonsterModule_TypeInfo->static_fields->__Hotfix0_MonsterAppear;
if ( Hotfix0_MonsterAppear )
return XLua_DelegateBridge____Gen_Delegate_Imp3586(
Hotfix0_MonsterAppear,
(Il2CppObject *)this,
(Il2CppObject *)ENBIKBJGIMC,
ELCJPLKDDNM,
(Il2CppObject *)KILPGGHEMKN,
0LL);
if ( IFix_WrappersManagerImpl__IsPatched_6504200912(0LL, 58212, 0LL) )
{
Patch_6504200528 = IFix_WrappersManagerImpl__GetPatch_6504200528(0LL, 58212, 0LL);
if ( !Patch_6504200528 )
sub_187B90EB0(v344);
return IFix_ILFixDynamicMethodWrapper____Gen_Wrap_10251(
Patch_6504200528,
(Il2CppObject *)this,
(Il2CppObject *)ENBIKBJGIMC,
ELCJPLKDDNM,
(Il2CppObject *)KILPGGHEMKN,
0LL);
}
v11 = sub_187BA2BB0((__int64)MoleMole_MonsterModule_PKCOJHMAMBJ__MonsterAppear_c__AnonStorey0_TypeInfo);
if ( !byte_18BF6E9B5 )
{
sub_187B5E280(0x40060u);
byte_18BF6E9B5 = 1;
}
*(_QWORD *)&v350 = Method_MoleMole_MonsterModule_PKCOJHMAMBJ__MonsterAppear_c__AnonStorey0__ctor__;
v349 = Method_MoleMole_MonsterModule_PKCOJHMAMBJ__MonsterAppear_c__AnonStorey0__ctor__;
System_Object___ctor((Il2CppObject *)v11, 0LL);
v355 = v11;
if ( !v11 )
sub_187B90EB0(v12);
v11[3] = (__int64)ENBIKBJGIMC;
v11[4] = (__int64)KILPGGHEMKN;
if ( !ENBIKBJGIMC || !Proto_SceneEntityInfo__get_Monster(ENBIKBJGIMC, 0LL) )
goto LABEL_464;
v13 = (LPOKKDOALBB_o *)v11[3];
if ( !v13 )
sub_187B90EB0(0LL);
if ( Proto_SceneEntityInfo__get_MotionInfo(v13, 0LL) )
{
v14 = (LPOKKDOALBB_o *)v11[3];
if ( !v14 )
sub_187B90EB0(0LL);
Monster = Proto_SceneEntityInfo__get_Monster(v14, 0LL);
v16 = (LPOKKDOALBB_o *)v11[3];
if ( !v16 )
sub_187B90EB0(0LL);
MotionInfo = Proto_SceneEntityInfo__get_MotionInfo(v16, 0LL);
if ( !MotionInfo )
sub_187B90EB0(v18);
Pos = Proto_MotionInfo__get_Pos(MotionInfo, 0LL);
MonsterPos = MoleMole_MonsterModule__GetMonsterPos((UnityEngine_Vector3_o *)&v350, this, Monster, Pos, 0LL);
v21 = *(_QWORD *)&MonsterPos->fields.x;
*(_QWORD *)&v347.fields.x = *(_QWORD *)&MonsterPos->fields.x;
z = MonsterPos->fields.z;
v347.fields.z = z;
v22 = (LPOKKDOALBB_o *)v11[3];
if ( !v22 )
sub_187B90EB0(0LL);
v23 = Proto_SceneEntityInfo__get_MotionInfo(v22, 0LL);
if ( !v23 )
sub_187B90EB0(v24);
Rot = Proto_MotionInfo__get_Rot(v23, 0LL);
if ( !Rot )
sub_187B90EB0(v26);
Y = Proto_Vector__get_Y(Rot, 0LL);
*(float *)&v349 = Y;
v28 = (LPOKKDOALBB_o *)v11[3];
if ( !v28 )
sub_187B90EB0(0LL);
v29 = Proto_SceneEntityInfo__get_Monster(v28, 0LL);
if ( !v29 )
sub_187B90EB0(v30);
PoseId = Proto_SceneMonsterInfo__get_PoseId(v29, 0LL);
v31 = (LPOKKDOALBB_o *)v11[3];
if ( !v31 )
sub_187B90EB0(0LL);
AnimatorParaList = Proto_SceneEntityInfo__get_AnimatorParaList(v31, 0LL);
if ( !AnimatorParaList )
sub_187B90EB0(v33);
Enumerator = Google_Protobuf_Collections_RepeatedField_1_Proto_Achievement___GetEnumerator(
(EILMNFGJKAB_PCCICADIFCG__o *)AnimatorParaList,
Method_Google_Protobuf_Collections_RepeatedField_1_Proto_AnimatorParameterValueInfoPair__GetEnumerator__);
v353 = (__int64)Enumerator;
while ( 1 )
{
if ( !Enumerator )
sub_187B90EB0(v34);
klass = Enumerator->klass;
v37 = 0;
interface_offsets_count = Enumerator->klass->_2.interface_offsets_count;
if ( interface_offsets_count )
{
interfaceOffsets = klass->_1.interfaceOffsets;
while ( (System_Collections_IEnumerator_c *)interfaceOffsets[v37].interfaceType != System_Collections_IEnumerator_TypeInfo )
{
if ( ++v37 >= interface_offsets_count )
goto LABEL_28;
}
v40 = (__int64)&klass->vtable[interfaceOffsets[v37].offset + 1];
}
else
{
LABEL_28:
v40 = sub_187B50500(Enumerator, System_Collections_IEnumerator_TypeInfo, 1LL);
}
if ( !(*(unsigned __int8 (__fastcall **)(System_Collections_Generic_IEnumerator_T__o *, _QWORD))v40)(
Enumerator,
*(_QWORD *)(v40 + 8)) )
break;
v41 = Enumerator->klass;
v42 = 0;
v43 = Enumerator->klass->_2.interface_offsets_count;
if ( v43 )
{
v44 = v41->_1.interfaceOffsets;
while ( (System_Collections_Generic_IEnumerator_CDILBNABPMB__c *)v44[v42].interfaceType != System_Collections_Generic_IEnumerator_Proto_AnimatorParameterValueInfoPair__TypeInfo )
{
if ( ++v42 >= v43 )
goto LABEL_34;
}
v45 = (__int64)&v41->vtable[v44[v42].offset];
}
else
{
LABEL_34:
v45 = sub_187B50500(
Enumerator,
System_Collections_Generic_IEnumerator_Proto_AnimatorParameterValueInfoPair__TypeInfo,
0LL);
}
v46 = (CDILBNABPMB_o *)(*(__int64 (__fastcall **)(System_Collections_Generic_IEnumerator_T__o *, _QWORD))v45)(
Enumerator,
*(_QWORD *)(v45 + 8));
v48 = v46;
if ( !v46 )
sub_187B90EB0(v47);
NameId = Proto_AnimatorParameterValueInfoPair__get_NameId(v46, 0LL);
v50 = MoleMole_AnimatorParamsData_TypeInfo;
if ( (MoleMole_AnimatorParamsData_TypeInfo->_2.bitflags2 & 1) != 0
&& !MoleMole_AnimatorParamsData_TypeInfo->_2.cctor_finished )
{
il2cpp_runtime_class_init_0((__int64)MoleMole_AnimatorParamsData_TypeInfo);
v50 = MoleMole_AnimatorParamsData_TypeInfo;
}
if ( NameId == v50->static_fields->POSE_ID )
{
AnimatorPara = Proto_AnimatorParameterValueInfoPair__get_AnimatorPara(v48, 0LL);
if ( !AnimatorPara )
sub_187B90EB0(v52);
PoseId = (int)Proto_AnimatorParameterValueInfo__get_FloatVal(AnimatorPara, 0LL);
break;
}
}
v348 = 328;
v53 = z;
v54 = Enumerator->klass;
v55 = 0;
v56 = Enumerator->klass->_2.interface_offsets_count;
if ( v56 )
{
v57 = v54->_1.interfaceOffsets;
while ( (System_IDisposable_c *)v57[v55].interfaceType != System_IDisposable_TypeInfo )
{
if ( ++v55 >= v56 )
goto LABEL_49;
}
v58 = (__int64)&v54->vtable[v57[v55].offset];
}
else
{
LABEL_49:
v58 = sub_187B50500(Enumerator, System_IDisposable_TypeInfo, 0LL);
}
(*(void (__fastcall **)(System_Collections_Generic_IEnumerator_T__o *, _QWORD))v58)(
Enumerator,
*(_QWORD *)(v58 + 8));
if ( (MoleMole_Singleton_MoleMole_DataItemManager__TypeInfo->_2.bitflags2 & 1) != 0
&& !MoleMole_Singleton_MoleMole_DataItemManager__TypeInfo->_2.cctor_finished )
{
il2cpp_runtime_class_init_0((__int64)MoleMole_Singleton_MoleMole_DataItemManager__TypeInfo);
}
Instance = MoleMole_Singleton_MoleMole_AuxObjectManager___get_Instance(
0LL,
Method_MoleMole_Singleton_MoleMole_DataItemManager__get_Instance__);
v60 = (LPOKKDOALBB_o *)v11[3];
if ( !v60 )
sub_187B90EB0(0LL);
EntityId = Proto_SceneEntityInfo__get_EntityId(v60, 0LL);
if ( !Instance )
sub_187B90EB0(v62);
DataItemByEntityId_MoleMole_MonsterDataItem = MoleMole_DataItemManager__CreateDataItemByEntityId_MoleMole_MonsterDataItem_(
(FGOHBDNNMLA_o *)Instance,
EntityId,
Method_MoleMole_DataItemManager_CreateDataItemByEntityId_MoleMole_MonsterDataItem___);
v11[2] = (__int64)DataItemByEntityId_MoleMole_MonsterDataItem;
v64 = (LPOKKDOALBB_o *)v11[3];
if ( !v64 )
sub_187B90EB0(0LL);
v65 = Proto_SceneEntityInfo__get_Monster(v64, 0LL);
if ( !v65 )
sub_187B90EB0(v66);
BlockId = Proto_SceneMonsterInfo__get_BlockId(v65, 0LL);
if ( !DataItemByEntityId_MoleMole_MonsterDataItem )
sub_187B90EB0(v68);
DataItemByEntityId_MoleMole_MonsterDataItem->fields.blockId = BlockId;
v69 = v11[2];
v70 = (LPOKKDOALBB_o *)v11[3];
if ( !v70 )
sub_187B90EB0(0LL);
v71 = Proto_SceneEntityInfo__get_Monster(v70, 0LL);
if ( !v71 )
sub_187B90EB0(v72);
GroupId = Proto_SceneMonsterInfo__get_GroupId(v71, 0LL);
if ( !v69 )
sub_187B90EB0(v74);
*(_DWORD *)(v69 + 56) = GroupId;
v75 = v11[2];
v76 = (LPOKKDOALBB_o *)v11[3];
if ( !v76 )
sub_187B90EB0(0LL);
v77 = Proto_SceneEntityInfo__get_Monster(v76, 0LL);
if ( !v77 )
sub_187B90EB0(v78);
MarkFlag = Proto_SceneMonsterInfo__get_MarkFlag(v77, 0LL);
if ( !v75 )
sub_187B90EB0(v80);
*(_DWORD *)(v75 + 64) = MarkFlag;
v81 = v11[2];
v82 = (LPOKKDOALBB_o *)v11[3];
if ( !v82 )
sub_187B90EB0(0LL);
v83 = Proto_SceneEntityInfo__get_Monster(v82, 0LL);
if ( !v83 )
sub_187B90EB0(v84);
ConfigId = Proto_SceneMonsterInfo__get_ConfigId(v83, 0LL);
if ( !v81 )
sub_187B90EB0(v86);
*(_DWORD *)(v81 + 60) = ConfigId;
v87 = v11[2];
v88 = (LPOKKDOALBB_o *)v11[3];
if ( !v88 )
sub_187B90EB0(0LL);
v89 = Proto_SceneEntityInfo__get_Monster(v88, 0LL);
if ( !v89 )
sub_187B90EB0(v90);
MonsterId = Proto_SceneMonsterInfo__get_MonsterId(v89, 0LL);
if ( !v87 )
sub_187B90EB0(v92);
*(_DWORD *)(v87 + 48) = MonsterId;
v93 = v11[2];
v94 = (LPOKKDOALBB_o *)v11[3];
if ( !v94 )
sub_187B90EB0(0LL);
v95 = Proto_SceneEntityInfo__get_Monster(v94, 0LL);
if ( !v95 )
sub_187B90EB0(v96);
TitleId = Proto_SceneMonsterInfo__get_TitleId(v95, 0LL);
if ( !v93 )
sub_187B90EB0(v98);
*(_DWORD *)(v93 + 68) = TitleId;
v99 = v11[2];
v100 = (LPOKKDOALBB_o *)v11[3];
if ( !v100 )
sub_187B90EB0(0LL);
v101 = Proto_SceneEntityInfo__get_Monster(v100, 0LL);
if ( !v101 )
sub_187B90EB0(v102);
SpecialNameId = Proto_SceneMonsterInfo__get_SpecialNameId(v101, 0LL);
if ( !v99 )
sub_187B90EB0(v104);
*(_DWORD *)(v99 + 72) = SpecialNameId;
v105 = v11[2];
v106 = (LPOKKDOALBB_o *)v11[3];
if ( !v106 )
sub_187B90EB0(0LL);
v107 = Proto_SceneEntityInfo__get_Monster(v106, 0LL);
if ( !v107 )
sub_187B90EB0(v108);
IsElite = Proto_SceneMonsterInfo__get_IsElite(v107, 0LL);
if ( !v105 )
sub_187B90EB0(v110);
*(_BYTE *)(v105 + 96) = IsElite;
v111 = v11[2];
if ( !v111 )
sub_187B90EB0(v110);
v112 = *(_QWORD *)(v111 + 80);
v113 = (LPOKKDOALBB_o *)v11[3];
if ( !v113 )
sub_187B90EB0(0LL);
v114 = Proto_SceneEntityInfo__get_Monster(v113, 0LL);
if ( !v114 )
sub_187B90EB0(v115);
v116 = Proto_SceneMonsterInfo__get_PoseId(v114, 0LL);
if ( !v112 )
sub_187B90EB0(v117);
*(_DWORD *)(v112 + 32) = v116;
v118 = (LPOKKDOALBB_o *)v11[3];
if ( !v118 )
sub_187B90EB0(0LL);
if ( Proto_SceneEntityInfo__get_AiInfo(v118, 0LL) )
{
v120 = (LPOKKDOALBB_o *)v11[3];
if ( !v120 )
sub_187B90EB0(0LL);
v121 = Proto_SceneEntityInfo__get_Monster(v120, 0LL);
v122 = (LPOKKDOALBB_o *)v11[3];
if ( !v122 )
sub_187B90EB0(0LL);
AiInfo = Proto_SceneEntityInfo__get_AiInfo(v122, 0LL);
if ( !AiInfo )
sub_187B90EB0(v124);
BornPos = Proto_SceneEntityAiInfo__get_BornPos(AiInfo, 0LL);
v126 = MoleMole_MonsterModule__GetMonsterPos(&v347, this, v121, BornPos, 0LL);
v127 = *(_QWORD *)&v126->fields.x;
v128 = v126->fields.z;
v350 = 0uLL;
*(_QWORD *)&v347.fields.x = v127;
v347.fields.z = v128;
sub_18544F2C0(&v350, &v347, Method_System_Nullable_Vector3___ctor__);
*(_OWORD *)(v112 + 16) = v350;
v129 = (LPOKKDOALBB_o *)v11[3];
if ( !v129 )
sub_187B90EB0(0LL);
v130 = Proto_SceneEntityInfo__get_AiInfo(v129, 0LL);
if ( !v130 )
sub_187B90EB0(v131);
if ( Proto_SceneEntityAiInfo__get_ServantInfo(v130, 0LL) )
{
v132 = (LPOKKDOALBB_o *)v11[3];
if ( !v132 )
sub_187B90EB0(0LL);
v133 = Proto_SceneEntityInfo__get_AiInfo(v132, 0LL);
if ( !v133 )
sub_187B90EB0(v134);
ServantInfo = Proto_SceneEntityAiInfo__get_ServantInfo(v133, 0LL);
if ( !ServantInfo )
sub_187B90EB0(v136);
*(_DWORD *)(v112 + 112) = Proto_ServantInfo__get_MasterEntityId(ServantInfo, 0LL);
v137 = (LPOKKDOALBB_o *)v11[3];
if ( !v137 )
sub_187B90EB0(0LL);
v138 = Proto_SceneEntityInfo__get_AiInfo(v137, 0LL);
if ( !v138 )
sub_187B90EB0(v139);
v140 = Proto_SceneEntityAiInfo__get_ServantInfo(v138, 0LL);
if ( !v140 )
sub_187B90EB0(v141);
*(_DWORD *)(v112 + 116) = Proto_ServantInfo__get_BornSlotIndex(v140, 0LL);
}
v142 = (LPOKKDOALBB_o *)v11[3];
if ( !v142 )
sub_187B90EB0(0LL);
v143 = Proto_SceneEntityInfo__get_AiInfo(v142, 0LL);
if ( !v143 )
sub_187B90EB0(v144);
*(_QWORD *)(v112 + 96) = Proto_SceneEntityAiInfo__get_SkillCdMap(v143, 0LL);
v145 = (LPOKKDOALBB_o *)v11[3];
if ( !v145 )
sub_187B90EB0(0LL);
v146 = Proto_SceneEntityInfo__get_AiInfo(v145, 0LL);
if ( !v146 )
sub_187B90EB0(v147);
*(_QWORD *)(v112 + 104) = Proto_SceneEntityAiInfo__get_AiThreatMap(v146, 0LL);
}
v148 = v11[2];
if ( !v148 )
sub_187B90EB0(v119);
v149 = *(System_Collections_Generic_List_uint__o **)(v148 + 104);
if ( !v149 )
sub_187B90EB0(0LL);
System_Collections_Generic_List_uint___Clear(v149, Method_System_Collections_Generic_List_uint__Clear__);
v150 = 0;
for ( i = 0; ; i = v150 )
{
v152 = (LPOKKDOALBB_o *)v11[3];
if ( !v152 )
sub_187B90EB0(0LL);
v153 = Proto_SceneEntityInfo__get_Monster(v152, 0LL);
if ( !v153 )
sub_187B90EB0(v154);
AffixList = Proto_SceneMonsterInfo__get_AffixList(v153, 0LL);
if ( !AffixList )
sub_187B90EB0(v156);
if ( i >= Google_Protobuf_Collections_RepeatedField_1_uint___get_Count(
AffixList,
Method_Google_Protobuf_Collections_RepeatedField_1_uint__get_Count__) )
break;
v158 = v11[2];
if ( !v158 )
sub_187B90EB0(v157);
v159 = *(System_Collections_Generic_List_uint__o **)(v158 + 104);
v160 = (LPOKKDOALBB_o *)v11[3];
if ( !v160 )
sub_187B90EB0(0LL);
v161 = Proto_SceneEntityInfo__get_Monster(v160, 0LL);
if ( !v161 )
sub_187B90EB0(v162);
v163 = Proto_SceneMonsterInfo__get_AffixList(v161, 0LL);
if ( !v163 )
sub_187B90EB0(v164);
Item = Google_Protobuf_Collections_RepeatedField_1_uint___get_Item(
v163,
v150,
Method_Google_Protobuf_Collections_RepeatedField_1_uint__get_Item__);
if ( !v159 )
sub_187B90EB0(v166);
System_Collections_Generic_List_uint___Add(v159, Item, Method_System_Collections_Generic_List_uint__Add__);
++v150;
}
v167 = v11[2];
v168 = (LPOKKDOALBB_o *)v11[3];
if ( !v168 )
sub_187B90EB0(0LL);
v169 = Proto_SceneEntityInfo__get_Monster(v168, 0LL);
if ( !v169 )
sub_187B90EB0(v170);
SummonedTag = Proto_SceneMonsterInfo__get_SummonedTag(v169, 0LL);
if ( !v167 )
sub_187B90EB0(v172);
*(_DWORD *)(v167 + 112) = SummonedTag;
v173 = (IFPCMELBFIE_o *)v11[2];
v174 = (LPOKKDOALBB_o *)v11[3];
if ( !v174 )
sub_187B90EB0(0LL);
v175 = Proto_SceneEntityInfo__get_Monster(v174, 0LL);
if ( !v175 )
sub_187B90EB0(v176);
SummonTagMap = Proto_SceneMonsterInfo__get_SummonTagMap(v175, 0LL);
if ( !v173 )
sub_187B90EB0(v178);
MoleMole_MonsterDataItem__UpdateSummonTagMap(v173, SummonTagMap, 1, 0LL);
v179 = (IFPCMELBFIE_o *)v11[2];
v180 = (LPOKKDOALBB_o *)v11[3];
if ( !v180 )
sub_187B90EB0(0LL);
v181 = Proto_SceneEntityInfo__get_Monster(v180, 0LL);
if ( !v181 )
sub_187B90EB0(v182);
WeaponList = Proto_SceneMonsterInfo__get_WeaponList(v181, 0LL);
if ( !v179 )
sub_187B90EB0(v184);
MoleMole_MonsterDataItem__UpdateWeaponList(v179, WeaponList, 0LL);
v186 = v11[2];
if ( !v186 )
sub_187B90EB0(v185);
if ( *(_DWORD *)(v186 + 56) && *(_DWORD *)(v186 + 60) )
{
if ( (MoleMole_Singleton_MoleMole_DataItemManager__TypeInfo->_2.bitflags2 & 1) != 0
&& !MoleMole_Singleton_MoleMole_DataItemManager__TypeInfo->_2.cctor_finished )
{
il2cpp_runtime_class_init_0((__int64)MoleMole_Singleton_MoleMole_DataItemManager__TypeInfo);
}
v187 = MoleMole_Singleton_MoleMole_AuxObjectManager___get_Instance(
0LL,
Method_MoleMole_Singleton_MoleMole_DataItemManager__get_Instance__);
v189 = v11[2];
if ( !v189 )
sub_187B90EB0(v188);
HLHGAMHBJNB = *(unsigned int *)(v189 + 60);
if ( !v187 )
sub_187B90EB0(HLHGAMHBJNB);
MoleMole_DataItemManager__AddGroupEntity(
(FGOHBDNNMLA_o *)v187,
(AKDONEDGHJE_o *)v189,
1,
*(_DWORD *)(v189 + 56),
HLHGAMHBJNB,
0LL);
}
if ( v11[4] )
{
if ( (MoleMole_Singleton_MoleMole_EntityManager__TypeInfo->_2.bitflags2 & 1) != 0
&& !MoleMole_Singleton_MoleMole_EntityManager__TypeInfo->_2.cctor_finished )
{
il2cpp_runtime_class_init_0((__int64)MoleMole_Singleton_MoleMole_EntityManager__TypeInfo);
}
v224 = MoleMole_Singleton_MoleMole_AuxObjectManager___get_Instance(
0LL,
Method_MoleMole_Singleton_MoleMole_EntityManager__get_Instance__);
if ( !v224 )
sub_187B90EB0(v225);
if ( !MoleMole_EntityManager__get_levelEntity((JLCIOOJCKDK_o *)v224, 0LL) )
goto LABEL_185;
if ( (MoleMole_Singleton_MoleMole_EntityManager__TypeInfo->_2.bitflags2 & 1) != 0
&& !MoleMole_Singleton_MoleMole_EntityManager__TypeInfo->_2.cctor_finished )
{
il2cpp_runtime_class_init_0((__int64)MoleMole_Singleton_MoleMole_EntityManager__TypeInfo);
}
v226 = MoleMole_Singleton_MoleMole_AuxObjectManager___get_Instance(
0LL,
Method_MoleMole_Singleton_MoleMole_EntityManager__get_Instance__);
if ( !v226 )
sub_187B90EB0(v227);
levelEntity = (KNDKHJJGFCH_o *)MoleMole_EntityManager__get_levelEntity((JLCIOOJCKDK_o *)v226, 0LL);
if ( !levelEntity )
sub_187B90EB0(v229);
if ( !MoleMole_BaseEntity__GetLCLevelComponent(levelEntity, 0LL) )
{
LABEL_185:
v230 = (LPOKKDOALBB_o *)v11[3];
if ( !v230 )
sub_187B90EB0(0LL);
LODWORD(v349) = Proto_SceneEntityInfo__get_EntityId(v230, 0LL);
v231 = (Il2CppObject *)il2cpp_value_box_0(uint_TypeInfo, &v349);
if ( (string_TypeInfo->_2.bitflags2 & 1) != 0 && !string_TypeInfo->_2.cctor_finished )
il2cpp_runtime_class_init_0((__int64)string_TypeInfo);
v232 = System_String__Concat_6530485024(0LL, StringLiteral_56474, v231, 0LL);
if ( (MoleMole_SuperDebug_TypeInfo->_2.bitflags2 & 1) != 0 && !MoleMole_SuperDebug_TypeInfo->_2.cctor_finished )
il2cpp_runtime_class_init_0((__int64)MoleMole_SuperDebug_TypeInfo);
MoleMole_SuperDebug__LogError(0LL, v232, 0LL);
}
v233 = (KNDKHJJGFCH_o *)v11[4];
if ( !v233 )
sub_187B90EB0(0LL);
*(_QWORD *)&v347.fields.x = v21;
v347.fields.z = v53;
MoleMole_BaseEntity__SetPosition(v233, &v347, 0LL);
v234 = (__int64 *)v11[4];
*(_QWORD *)&v350 = 0LL;
DWORD2(v350) = 0;
sub_187A45A30(&v350);
if ( !v234 )
sub_187B90EB0(v235);
v237 = *v234;
v347 = (UnityEngine_Vector3_o)v350;
LOBYTE(v236) = 1;
(*(void (__fastcall **)(__int64 *, UnityEngine_Vector3_o *, __int64, _QWORD))(v237 + 2128))(
v234,
&v347,
v236,
*(_QWORD *)(v237 + 2136));
if ( (MoleMole_Singleton_MoleMole_EntityManager__TypeInfo->_2.bitflags2 & 1) != 0
&& !MoleMole_Singleton_MoleMole_EntityManager__TypeInfo->_2.cctor_finished )
{
il2cpp_runtime_class_init_0((__int64)MoleMole_Singleton_MoleMole_EntityManager__TypeInfo);
}
v238 = MoleMole_Singleton_MoleMole_AuxObjectManager___get_Instance(
0LL,
Method_MoleMole_Singleton_MoleMole_EntityManager__get_Instance__);
if ( !v238 )
sub_187B90EB0(v239);
if ( MoleMole_EntityManager__IsCachedEntity((JLCIOOJCKDK_o *)v238, (KNDKHJJGFCH_o *)v11[4], 0LL) )
{
v240 = v11[4];
v241 = (LPOKKDOALBB_o *)v11[3];
if ( !v241 )
sub_187B90EB0(0LL);
v242 = Proto_SceneEntityInfo__get_Monster(v241, 0LL);
if ( !v242 )
sub_187B90EB0(v243);
OwnerEntityId = Proto_SceneMonsterInfo__get_OwnerEntityId(v242, 0LL);
if ( !v240 )
sub_187B90EB0(v245);
(*(void (__fastcall **)(__int64, _QWORD, _QWORD))(*(_QWORD *)v240 + 1312LL))(
v240,
OwnerEntityId,
*(_QWORD *)(*(_QWORD *)v240 + 1320LL));
if ( (MoleMole_Singleton_MoleMole_EntityManager__TypeInfo->_2.bitflags2 & 1) != 0
&& !MoleMole_Singleton_MoleMole_EntityManager__TypeInfo->_2.cctor_finished )
{
il2cpp_runtime_class_init_0((__int64)MoleMole_Singleton_MoleMole_EntityManager__TypeInfo);
}
v246 = MoleMole_Singleton_MoleMole_AuxObjectManager___get_Instance(
0LL,
Method_MoleMole_Singleton_MoleMole_EntityManager__get_Instance__);
if ( !v246 )
sub_187B90EB0(v247);
v248 = (KNDKHJJGFCH_o *)MoleMole_EntityManager__get_levelEntity((JLCIOOJCKDK_o *)v246, 0LL);
if ( !v248 )
sub_187B90EB0(v249);
LCLevelComponent = MoleMole_BaseEntity__GetLCLevelComponent(v248, 0LL);
v251 = (KNDKHJJGFCH_o *)v11[4];
v252 = (LPOKKDOALBB_o *)v11[3];
if ( !v252 )
sub_187B90EB0(0LL);
AbilityInfo = Proto_SceneEntityInfo__get_AbilityInfo(v252, 0LL);
if ( !LCLevelComponent )
sub_187B90EB0(v254);
MoleMole_LCLevel__CheckAbilityNeedSyncFromServer(LCLevelComponent, v251, AbilityInfo, 0LL);
v255 = MoleMole_Singleton_MoleMole_AuxObjectManager___get_Instance(
0LL,
Method_MoleMole_Singleton_MoleMole_EntityManager__get_Instance__);
if ( !v255 )
sub_187B90EB0(v256);
MoleMole_EntityManager__ReuseCachedEntity((JLCIOOJCKDK_o *)v255, (KNDKHJJGFCH_o *)v11[4], 1, 0LL);
v257 = MoleMole_Singleton_MoleMole_AuxObjectManager___get_Instance(
0LL,
Method_MoleMole_Singleton_MoleMole_EntityManager__get_Instance__);
if ( !v257 )
sub_187B90EB0(v258);
v259 = (KNDKHJJGFCH_o *)MoleMole_EntityManager__get_levelEntity((JLCIOOJCKDK_o *)v257, 0LL);
if ( !v259 )
sub_187B90EB0(v260);
v261 = MoleMole_BaseEntity__GetLCLevelComponent(v259, 0LL);
v262 = (LPOKKDOALBB_o *)v11[3];
if ( !v262 )
sub_187B90EB0(0LL);
v263 = Proto_SceneEntityInfo__get_EntityId(v262, 0LL);
if ( !v261 )
sub_187B90EB0(v264);
MoleMole_LCLevel__HandleEntityReady(v261, v263, 0LL);
}
v265 = v11[2];
if ( !v265 )
sub_187B90EB0(0LL);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v265 + 480LL))(v265, *(_QWORD *)(*(_QWORD *)v265 + 488LL));
v266 = (KNDKHJJGFCH_o *)v11[4];
v267 = (LPOKKDOALBB_o *)v11[3];
if ( !v267 )
sub_187B90EB0(0LL);
v268 = Proto_SceneEntityInfo__get_Monster(v267, 0LL);
if ( !v268 )
sub_187B90EB0(v269);
AuthorityPeerId = Proto_SceneMonsterInfo__get_AuthorityPeerId(v268, 0LL);
if ( !v266 )
sub_187B90EB0(v271);
MoleMole_BaseEntity__ChangeAuthorityPeer(v266, AuthorityPeerId, 0LL);
}
else
{
if ( (MoleMole_Singleton_MoleMole_LevelModule__TypeInfo->_2.bitflags2 & 1) != 0
&& !MoleMole_Singleton_MoleMole_LevelModule__TypeInfo->_2.cctor_finished )
{
il2cpp_runtime_class_init_0((__int64)MoleMole_Singleton_MoleMole_LevelModule__TypeInfo);
}
v191 = MoleMole_Singleton_MoleMole_AuxObjectManager___get_Instance(
0LL,
Method_MoleMole_Singleton_MoleMole_LevelModule__get_Instance__);
if ( !v191 )
sub_187B90EB0(v192);
if ( !MoleMole_LevelModule__get_curLevel((DHNPLOOKKBA_o *)v191, 0LL) )
{
v194 = (LPOKKDOALBB_o *)v11[3];
if ( !v194 )
sub_187B90EB0(0LL);
LODWORD(v349) = Proto_SceneEntityInfo__get_EntityId(v194, 0LL);
v195 = (Il2CppObject *)il2cpp_value_box_0(uint_TypeInfo, &v349);
if ( (string_TypeInfo->_2.bitflags2 & 1) != 0 && !string_TypeInfo->_2.cctor_finished )
il2cpp_runtime_class_init_0((__int64)string_TypeInfo);
v196 = System_String__Concat_6530485024(0LL, StringLiteral_56475, v195, 0LL);
if ( (MoleMole_SuperDebug_TypeInfo->_2.bitflags2 & 1) != 0 && !MoleMole_SuperDebug_TypeInfo->_2.cctor_finished )
il2cpp_runtime_class_init_0((__int64)MoleMole_SuperDebug_TypeInfo);
MoleMole_SuperDebug__LogError(0LL, v196, 0LL);
}
v197 = 0;
v198 = v11[2];
if ( !v198 )
sub_187B90EB0(v193);
if ( *(_DWORD *)(v198 + 112) )
{
v199 = (LPOKKDOALBB_o *)v11[3];
if ( !v199 )
sub_187B90EB0(0LL);
v200 = Proto_SceneEntityInfo__get_Monster(v199, 0LL);
if ( !v200 )
sub_187B90EB0(v201);
v197 = Proto_SceneMonsterInfo__get_OwnerEntityId(v200, 0LL);
}
v202 = (LPOKKDOALBB_o *)v11[3];
if ( !v202 )
sub_187B90EB0(0LL);
v348 = Proto_SceneEntityInfo__get_EntityId(v202, 0LL);
v203 = v11[2];
if ( !v203 )
sub_187B90EB0(0LL);
LODWORD(v349) = *(_DWORD *)(v203 + 48);
*(_QWORD *)&v350 = *(_QWORD *)(v203 + 80);
if ( (MoleMole_Singleton_MoleMole_LevelModule__TypeInfo->_2.bitflags2 & 1) != 0
&& !MoleMole_Singleton_MoleMole_LevelModule__TypeInfo->_2.cctor_finished )
{
il2cpp_runtime_class_init_0((__int64)MoleMole_Singleton_MoleMole_LevelModule__TypeInfo);
}
v204 = MoleMole_Singleton_MoleMole_AuxObjectManager___get_Instance(
0LL,
Method_MoleMole_Singleton_MoleMole_LevelModule__get_Instance__);
if ( !v204 )
sub_187B90EB0(v205);
curLevel = MoleMole_LevelModule__get_curLevel((DHNPLOOKKBA_o *)v204, 0LL);
if ( !curLevel )
sub_187B90EB0(v207);
IsLoadObjectAsync = MoleMole_BaseLevel__IsLoadObjectAsync(curLevel, 0LL);
v208 = v11[2];
if ( !v208 )
sub_187B90EB0(0LL);
v209 = *(_BYTE *)(v208 + 96);
v210 = *(System_Collections_Generic_List_uint__o **)(v208 + 104);
v211 = (LPOKKDOALBB_o *)v11[3];
if ( !v211 )
sub_187B90EB0(0LL);
v212 = Proto_SceneEntityInfo__get_Monster(v211, 0LL);
if ( !v212 )
sub_187B90EB0(v213);
v214 = Proto_SceneMonsterInfo__get_AuthorityPeerId(v212, 0LL);
v215 = (IFPCMELBFIE_o *)v11[2];
if ( (MoleMole_EntityFactory_TypeInfo->_2.bitflags2 & 1) != 0
&& !MoleMole_EntityFactory_TypeInfo->_2.cctor_finished )
{
il2cpp_runtime_class_init_0((__int64)MoleMole_EntityFactory_TypeInfo);
}
*(_QWORD *)&v347.fields.x = v21;
v347.fields.z = z;
v216 = MoleMole_EntityFactory__CreateMonster(
0LL,
v348,
v349,
&v347,
Y,
PoseId,
(MENHPMCFIGF_o *)v350,
0LL,
1.0,
IsLoadObjectAsync,
0LL,
v209,
v210,
v214,
v197,
v215,
0LL);
v218 = v216;
v11[4] = (__int64)v216;
if ( !v216 )
sub_187B90EB0(v217);
onEntityReadyPreCallback = (System_Delegate_o *)v216->fields.onEntityReadyPreCallback;
v220 = Method_MoleMole_MonsterModule_PKCOJHMAMBJ__MonsterAppear_c__AnonStorey0___m__0__;
v221 = sub_187BA2BB0((__int64)System_Action_MoleMole_BaseEntity__TypeInfo);
System_Action_NetDataWriter____ctor(
(System_Action_NetDataWriter__o *)v221,
(Il2CppObject *)v11,
v220,
Method_System_Action_MoleMole_BaseEntity___ctor__);
v222 = System_Delegate__Combine(0LL, onEntityReadyPreCallback, (System_Delegate_o *)v221, 0LL);
v223 = 0LL;
if ( v222 )
{
if ( (System_Action_KNDKHJJGFCH__c *)v222->klass == System_Action_MoleMole_BaseEntity__TypeInfo )
v223 = v222;
if ( !v223 )
sub_1803D2800(v222, System_Action_MoleMole_BaseEntity__TypeInfo);
}
v218->fields.onEntityReadyPreCallback = (struct System_Action_KNDKHJJGFCH__o *)v223;
}
v272 = (AKDONEDGHJE_o *)v11[2];
v273 = (LPOKKDOALBB_o *)v11[3];
if ( !v273 )
sub_187B90EB0(0LL);
PropList = Proto_SceneEntityInfo__get_PropList(v273, 0LL);
if ( !v272 )
sub_187B90EB0(v275);
MoleMole_DataItem__HandleNormalPropsList(v272, PropList, 0, 1, 0LL);
v276 = (AKDONEDGHJE_o *)v11[2];
v277 = (LPOKKDOALBB_o *)v11[3];
if ( !v277 )
sub_187B90EB0(0LL);
FightPropList = Proto_SceneEntityInfo__get_FightPropList(v277, 0LL);
if ( !v276 )
sub_187B90EB0(v279);
MoleMole_DataItem__HandleFightPropsList(v276, FightPropList, 0, 1, 0LL);
if ( v11[4] )
goto LABEL_465;
v280 = v11[3];
if ( !v280 )
sub_187B90EB0(0LL);
v281 = (System_String_o *)(*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v280 + 320LL))(
v280,
*(_QWORD *)(*(_QWORD *)v280 + 328LL));
if ( (string_TypeInfo->_2.bitflags2 & 1) != 0 && !string_TypeInfo->_2.cctor_finished )
il2cpp_runtime_class_init_0((__int64)string_TypeInfo);
v282 = System_String__Concat_6530484304(0LL, StringLiteral_56476, v281, 0LL);
if ( (MoleMole_SuperDebug_TypeInfo->_2.bitflags2 & 1) != 0 && !MoleMole_SuperDebug_TypeInfo->_2.cctor_finished )
il2cpp_runtime_class_init_0((__int64)MoleMole_SuperDebug_TypeInfo);
MoleMole_SuperDebug__Assert(0LL, 0, v282, 0LL, 0LL);
if ( v11[4] )
{
LABEL_465:
if ( (MoleMole_Singleton_MoleMole_LoadingManager__TypeInfo->_2.bitflags2 & 1) != 0
&& !MoleMole_Singleton_MoleMole_LoadingManager__TypeInfo->_2.cctor_finished )
{
il2cpp_runtime_class_init_0((__int64)MoleMole_Singleton_MoleMole_LoadingManager__TypeInfo);
}
v283 = MoleMole_Singleton_MoleMole_AuxObjectManager___get_Instance(
0LL,
Method_MoleMole_Singleton_MoleMole_LoadingManager__get_Instance__);
if ( !v283 )
sub_187B90EB0(v284);
CurLoadingTask = MoleMole_LoadingManager__GetCurLoadingTask((OIOGLJKFFEH_o *)v283, 0LL);
if ( !CurLoadingTask )
sub_187B90EB0(v286);
if ( CurLoadingTask->fields.isReLogin )
{
if ( (MoleMole_Singleton_MoleMole_LevelModule__TypeInfo->_2.bitflags2 & 1) != 0
&& !MoleMole_Singleton_MoleMole_LevelModule__TypeInfo->_2.cctor_finished )
{
il2cpp_runtime_class_init_0((__int64)MoleMole_Singleton_MoleMole_LevelModule__TypeInfo);
}
v287 = MoleMole_Singleton_MoleMole_AuxObjectManager___get_Instance(
0LL,
Method_MoleMole_Singleton_MoleMole_LevelModule__get_Instance__);
if ( !v287 )
sub_187B90EB0(v288);
if ( MoleMole_LevelModule__AppearWaitForOwnerExist((DHNPLOOKKBA_o *)v287, 0LL) )
{
if ( (MoleMole_Singleton_MoleMole_LevelModule__TypeInfo->_2.bitflags2 & 1) != 0
&& !MoleMole_Singleton_MoleMole_LevelModule__TypeInfo->_2.cctor_finished )
{
il2cpp_runtime_class_init_0((__int64)MoleMole_Singleton_MoleMole_LevelModule__TypeInfo);
}
v289 = MoleMole_Singleton_MoleMole_AuxObjectManager___get_Instance(
0LL,
Method_MoleMole_Singleton_MoleMole_LevelModule__get_Instance__);
if ( !v289 )
sub_187B90EB0(v290);
MoleMole_LevelModule__OwnerIsAppeared((DHNPLOOKKBA_o *)v289, (KNDKHJJGFCH_o *)v11[4], 0LL);
}
}
v291 = (KNDKHJJGFCH_o *)v11[4];
if ( !v291 )
sub_187B90EB0(0LL);
if ( MoleMole_BaseEntity__IsEntityReady(v291, 0LL) )
{
if ( (MoleMole_Singleton_MoleMole_EntityManager__TypeInfo->_2.bitflags2 & 1) != 0
&& !MoleMole_Singleton_MoleMole_EntityManager__TypeInfo->_2.cctor_finished )
{
il2cpp_runtime_class_init_0((__int64)MoleMole_Singleton_MoleMole_EntityManager__TypeInfo);
}
v299 = MoleMole_Singleton_MoleMole_AuxObjectManager___get_Instance(
0LL,
Method_MoleMole_Singleton_MoleMole_EntityManager__get_Instance__);
if ( !v299 )
sub_187B90EB0(v300);
v301 = (KNDKHJJGFCH_o *)MoleMole_EntityManager__get_levelEntity((JLCIOOJCKDK_o *)v299, 0LL);
if ( !v301 )
sub_187B90EB0(v302);
v303 = MoleMole_BaseEntity__GetLCLevelComponent(v301, 0LL);
v304 = (KNDKHJJGFCH_o *)v11[4];
v305 = (LPOKKDOALBB_o *)v11[3];
if ( !v305 )
sub_187B90EB0(0LL);
v306 = Proto_SceneEntityInfo__get_AbilityInfo(v305, 0LL);
if ( !v303 )
sub_187B90EB0(v307);
MoleMole_LCLevel__RecoverEntityAbilityFromServer(v303, v304, v306, 1, 0LL);
}
else
{
v293 = v11[4];
if ( !v293 )
sub_187B90EB0(v292);
v294 = *(System_Delegate_o **)(v293 + 160);
v295 = Method_MoleMole_MonsterModule_PKCOJHMAMBJ__MonsterAppear_c__AnonStorey0___m__1__;
v296 = sub_187BA2BB0((__int64)System_Action_MoleMole_BaseEntity__TypeInfo);
System_Action_NetDataWriter____ctor(
(System_Action_NetDataWriter__o *)v296,
(Il2CppObject *)v11,
v295,
Method_System_Action_MoleMole_BaseEntity___ctor__);
v297 = System_Delegate__Combine(0LL, v294, (System_Delegate_o *)v296, 0LL);
v298 = 0LL;
if ( v297 )
{
if ( (System_Action_KNDKHJJGFCH__c *)v297->klass == System_Action_MoleMole_BaseEntity__TypeInfo )
v298 = v297;
if ( !v298 )
sub_1803D2800(v297, System_Action_MoleMole_BaseEntity__TypeInfo);
}
*(_QWORD *)(v293 + 160) = v298;
}
v308 = (KNDKHJJGFCH_o *)v11[4];
if ( !v308 )
sub_187B90EB0(0LL);
if ( MoleMole_BaseEntity__IsEntityReady(v308, 0LL) )
{
v331 = (KNDKHJJGFCH_o *)v11[4];
v332 = (LPOKKDOALBB_o *)v11[3];
if ( !v332 )
sub_187B90EB0(0LL);
v333 = Proto_SceneEntityInfo__get_AnimatorParaList(v332, 0LL);
if ( (MoleMole_Miscs_TypeInfo->_2.bitflags2 & 1) != 0 && !MoleMole_Miscs_TypeInfo->_2.cctor_finished )
il2cpp_runtime_class_init_0((__int64)MoleMole_Miscs_TypeInfo);
MoleMole_Miscs__RecoverServerAnimatorParameterList(0LL, v331, v333, 0LL);
v334 = (KNDKHJJGFCH_o *)v11[4];
v335 = (LPOKKDOALBB_o *)v11[3];
if ( !v335 )
sub_187B90EB0(0LL);
RendererChangedInfo = Proto_SceneEntityInfo__get_RendererChangedInfo(v335, 0LL);
MoleMole_Miscs__RecoverServerEntityRendererVisible(0LL, v334, RendererChangedInfo, 0LL);
v337 = (KNDKHJJGFCH_o *)v11[4];
v338 = (LPOKKDOALBB_o *)v11[3];
if ( !v338 )
sub_187B90EB0(0LL);
v339 = Proto_SceneEntityInfo__get_Monster(v338, 0LL);
if ( !v339 )
sub_187B90EB0(v340);
AttackTargetId = Proto_SceneMonsterInfo__get_AttackTargetId(v339, 0LL);
MoleMole_Miscs__RecoverServerEntityAttackTarget(0LL, v337, AttackTargetId, 0LL);
}
else
{
v309 = (Il2CppObject *)sub_187BA2BB0((__int64)MoleMole_MonsterModule_PKCOJHMAMBJ__MonsterAppear_c__AnonStorey1_TypeInfo);
if ( !byte_18BF6E9B3 )
{
sub_187B5E280(0x3F92Bu);
byte_18BF6E9B3 = 1;
}
v353 = Method_MoleMole_MonsterModule_PKCOJHMAMBJ__MonsterAppear_c__AnonStorey1__ctor__;
*(_QWORD *)&v350 = Method_MoleMole_MonsterModule_PKCOJHMAMBJ__MonsterAppear_c__AnonStorey1__ctor__;
System_Object___ctor(v309, 0LL);
if ( !v309 )
sub_187B90EB0(v310);
v309[2].klass = (Il2CppClass *)v11;
v311 = (LPOKKDOALBB_o *)v11[3];
if ( !v311 )
sub_187B90EB0(0LL);
v312 = Proto_SceneEntityInfo__get_AnimatorParaList(v311, 0LL);
if ( !v312 )
sub_187B90EB0(v313);
v309[1].klass = (Il2CppClass *)Google_Protobuf_Collections_RepeatedField_1_Proto_ServerMassiveEntity___Clone(
(EILMNFGJKAB_KNGMJJJIGEH__o *)v312,
Method_Google_Protobuf_Collections_RepeatedField_1_Proto_AnimatorParameterValueInfoPair__Clone__);
v314 = (LPOKKDOALBB_o *)v11[3];
if ( !v314 )
sub_187B90EB0(0LL);
if ( Proto_SceneEntityInfo__get_RendererChangedInfo(v314, 0LL) )
{
v317 = (LPOKKDOALBB_o *)v11[3];
if ( !v317 )
sub_187B90EB0(0LL);
v318 = Proto_SceneEntityInfo__get_RendererChangedInfo(v317, 0LL);
if ( !v318 )
sub_187B90EB0(v319);
v316 = Proto_EntityRendererChangedInfo__Clone(v318, 0LL);
}
else
{
v316 = 0LL;
}
v309[1].monitor = v316;
v320 = v11[4];
if ( !v320 )
sub_187B90EB0(v315);
v321 = *(System_Delegate_o **)(v320 + 168);
v322 = Method_MoleMole_MonsterModule_PKCOJHMAMBJ__MonsterAppear_c__AnonStorey1___m__0__;
v323 = sub_187BA2BB0((__int64)System_Action_MoleMole_BaseEntity__TypeInfo);
System_Action_NetDataWriter____ctor(
(System_Action_NetDataWriter__o *)v323,
v309,
v322,
Method_System_Action_MoleMole_BaseEntity___ctor__);
v324 = System_Delegate__Combine(0LL, v321, (System_Delegate_o *)v323, 0LL);
if ( v324 )
{
if ( (System_Action_KNDKHJJGFCH__c *)v324->klass == System_Action_MoleMole_BaseEntity__TypeInfo )
v9 = (KNDKHJJGFCH_o *)v324;
if ( !v9 )
sub_1803D2800(v324, System_Action_MoleMole_BaseEntity__TypeInfo);
}
*(_QWORD *)(v320 + 168) = v9;
}
}
MoleMole_EvtEntityRemoved = MoleMole_EventHelper__Allocate_MoleMole_EvtEntityRemoved_(
0LL,
Method_MoleMole_EventHelper_Allocate_MoleMole_EvtMonsterAppear___);
v326 = (KNDKHJJGFCH_o *)v11[4];
if ( !v326 )
sub_187B90EB0(0LL);
runtimeID = MoleMole_BaseEntity__get_runtimeID(v326, 0LL);
if ( !MoleMole_EvtEntityRemoved )
sub_187B90EB0(v328);
((void (__fastcall *)(MEPDEGIFKHM_o *, _QWORD, const MethodInfo *))MoleMole_EvtEntityRemoved->klass->vtable._12_Init.methodPtr)(
MoleMole_EvtEntityRemoved,
runtimeID,
MoleMole_EvtEntityRemoved->klass->vtable._12_Init.method);
if ( (MoleMole_Singleton_MoleMole_EventManager__TypeInfo->_2.bitflags2 & 1) != 0
&& !MoleMole_Singleton_MoleMole_EventManager__TypeInfo->_2.cctor_finished )
{
il2cpp_runtime_class_init_0((__int64)MoleMole_Singleton_MoleMole_EventManager__TypeInfo);
}
v329 = MoleMole_Singleton_MoleMole_AuxObjectManager___get_Instance(
0LL,
Method_MoleMole_Singleton_MoleMole_EventManager__get_Instance__);
if ( !v329 )
sub_187B90EB0(v330);
((void (__fastcall *)(NDFCHNCBHFB_o *, MEPDEGIFKHM_o *, _QWORD, void *))v329->klass[1]._1.image)(
v329,
MoleMole_EvtEntityRemoved,
0LL,
v329->klass[1]._1.gc_desc);
return (KNDKHJJGFCH_o *)v11[4];
}
else
{
LABEL_464:
if ( (MoleMole_SuperDebug_TypeInfo->_2.bitflags2 & 1) != 0 && !MoleMole_SuperDebug_TypeInfo->_2.cctor_finished )
il2cpp_runtime_class_init_0((__int64)MoleMole_SuperDebug_TypeInfo);
MoleMole_SuperDebug__LogWarning(0LL, StringLiteral_17899, 0LL);
}
return v9;
}
"
}