//
// GJBaseGameLayer::applyRemap from 0x14021b1c0 to 0x14021cf9f (7647 bytes)
//
// 5 xrefs:
// > GJBaseGameLayer::spawnObject @ 0x14021b0d1
// > ??> @ 0x14067f9d8
// > ??> @ 0x14067f9e8
// > ??> @ 0x14067fa0c
// > ??> @ 0x1406cd3bc
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void GJBaseGameLayer::applyRemap(
GJBaseGameLayer *a1,
EffectGameObject *a2,
std::vector *const a3,
std::unordered_map *a4)
{
unsigned __int64 v6; // rax
GJBaseGameLayer *v7; // rdx
unsigned __int64 v8; // rcx
__int64 v9; // r9
std::unordered_map *v10; // r12
std::_Vector_val>>>>>::pointer Myfirst; // rax
std::_List_val>>::_Nodeptr Myhead; // rdx
std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr Ptr; // rbx
std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr v14; // rcx
int m_targetGroupID; // eax
std::_List_val>>::_Nodeptr v16; // r8
std::_Simple_types>>>>::value_type *v17; // rdx
std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr v18; // rax
__int64 v19; // rax
std::_Vector_val>>>>>::pointer v20; // rax
unsigned __int64 v21; // rdx
std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr v22; // rbx
std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr v23; // rcx
int m_centerGroupID; // eax
std::_List_val>>::_Nodeptr v25; // r8
std::_Simple_types>>>>::value_type *v26; // rdx
std::_List_val>>::_Nodeptr v27; // rax
std::_Vector_val>>>>>::pointer v28; // rax
unsigned __int64 v29; // rdx
std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr v30; // rbx
std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr v31; // rcx
int m_itemID; // eax
std::_List_val>>::_Nodeptr v33; // r8
std::_Simple_types>>>>::value_type *v34; // rdx
std::_List_val>>::_Nodeptr v35; // rax
std::_Vector_val>>>>>::pointer v36; // rax
unsigned __int64 v37; // rdx
std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr v38; // rbx
std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr v39; // rcx
int m_itemID2; // eax
std::_List_val>>::_Nodeptr v41; // r8
std::_Simple_types>>>>::value_type *v42; // rdx
std::_List_val>>::_Nodeptr v43; // rax
std::_Vector_val>>>>>::pointer v44; // rax
unsigned __int64 v45; // rdx
std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr v46; // rbx
std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr v47; // rcx
int m_controlID; // eax
std::_List_val>>::_Nodeptr v49; // r8
std::_Simple_types>>>>::value_type *v50; // rdx
std::_List_val>>::_Nodeptr v51; // rax
std::_Vector_val>>>>>::pointer v52; // rax
unsigned __int64 v53; // rdx
std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr v54; // rbx
std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr v55; // rcx
int m_animationID; // eax
std::_List_val>>::_Nodeptr v57; // r8
std::_Simple_types>>>>::value_type *v58; // rdx
std::_List_val>>::_Nodeptr v59; // rax
int m_objectID; // eax
std::_Vector_val>>>>>::pointer v61; // rax
unsigned __int64 v62; // rdx
std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr v63; // rbx
std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr v64; // rcx
int m_rotationTargetID; // eax
std::_Vector_val>>>>>::pointer v66; // rax
unsigned __int64 v67; // rdx
std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr v68; // rbx
std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr v69; // rcx
int v70; // eax
std::_Vector_val>>>>>::pointer v71; // rax
unsigned __int64 v72; // rdx
std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr v73; // rbx
std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr v74; // rcx
int v75; // eax
std::_Vector_val>>>>>::pointer v76; // rax
unsigned __int64 v77; // rdx
std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr v78; // rbx
std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr v79; // rcx
unsigned int v80; // eax
std::_Vector_val>>>>>::pointer v81; // rax
unsigned __int64 v82; // rdx
std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr v83; // rbx
std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr v84; // rcx
int v85; // eax
std::_Vector_val>>>>>::pointer v86; // rax
unsigned __int64 v87; // rdx
std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr v88; // rbx
std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr v89; // rcx
int m_targetModCenterID; // eax
std::_List_val>>::_Nodeptr v91; // rdx
std::_Simple_types>>>>::value_type *v92; // rcx
std::_List_val>>::_Nodeptr v93; // rax
std::_List_simple_types>::_Node *v94; // rcx
std::_Vector_val>>>>>::pointer v95; // rax
unsigned __int64 v96; // rdx
std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr v97; // rbx
std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr v98; // rcx
int m_nLuaID; // eax
std::_List_val>>::_Nodeptr v100; // r8
std::_Simple_types>>>>::value_type *v101; // rdx
std::_List_val>>::_Nodeptr v102; // rax
std::_Vector_val>>>>>::pointer v103; // rax
unsigned __int64 v104; // rdx
std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr v105; // rbx
std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr v106; // rcx
int m_nTag; // eax
std::_List_val>>::_Nodeptr v108; // rcx
std::_Simple_types>>>>::value_type *v109; // rdx
std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr v110; // rax
std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr v111; // rdx
std::_Vector_val>>>>>::pointer v112; // rax
unsigned __int64 v113; // rdx
std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr v114; // rbx
std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr v115; // rcx
unsigned int m_uReference; // eax
std::_List_val>>::_Nodeptr v117; // r8
std::_Simple_types>>>>::value_type *v118; // rdx
std::_List_val>>::_Nodeptr v119; // rax
std::_Vector_val>>>>>::pointer v120; // rax
unsigned __int64 v121; // rdx
std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr v122; // rbx
std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr v123; // rcx
unsigned int m_uAutoReleaseCount; // eax
std::_List_val>>::_Nodeptr v125; // r8
std::_Simple_types>>>>::value_type *v126; // rdx
std::_List_val>>::_Nodeptr v127; // rax
std::_Vector_val>>>>>::pointer v128; // rax
unsigned __int64 v129; // rdx
std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr v130; // rbx
std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr v131; // rcx
unsigned int m_uID; // eax
std::_List_val>>::_Nodeptr v133; // rdx
std::_Simple_types>>>>::value_type *v134; // rcx
std::_List_val>>::_Nodeptr v135; // rax
std::_List_simple_types>::_Node *v136; // rcx
__int64 v137; // r9
std::_List_simple_types>::_Node *v138; // rbx
__int64 v139; // r9
std::_List_simple_types>::_Node *v140; // rbx
int m_enterChannel; // r8d
std::_Vector_val>>>>>::pointer v142; // rax
unsigned __int64 v143; // rdx
std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr v144; // rdi
std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr v145; // rax
int v146; // ebx
std::_Vector_val>>>>>::pointer v147; // rax
unsigned __int64 v148; // rdx
std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr v149; // rbx
std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr v150; // rcx
int m_uIndexInArray; // eax
std::_List_val>>::_Nodeptr v152; // r8
std::_Simple_types>>>>::value_type *v153; // rdx
std::_List_val>>::_Nodeptr v154; // rax
std::_Vector_val>>>>>::pointer v155; // rax
unsigned __int64 v156; // rdx
std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr v157; // rbx
std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr v158; // rcx
float a; // eax
std::_List_val>>::_Nodeptr v160; // r8
std::_Simple_types>>>>::value_type *v161; // rdx
std::_List_val>>::_Nodeptr v162; // rax
std::_Vector_val>>>>>::pointer v163; // rax
unsigned __int64 v164; // rdx
std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr v165; // rbx
std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr v166; // rcx
float c; // eax
std::_List_val>>::_Nodeptr v168; // r8
std::_Simple_types>>>>::value_type *v169; // rdx
std::_List_val>>::_Nodeptr v170; // rax
std::_Vector_val>>>>>::pointer v171; // rax
unsigned __int64 v172; // rdx
std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr v173; // rbx
std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr v174; // rcx
float x; // eax
std::_List_val>>::_Nodeptr v176; // rdx
std::_Simple_types>>>>::value_type *v177; // rcx
std::_List_val>>::_Nodeptr v178; // rax
std::_List_simple_types>::_Node *v179; // rcx
__int64 v180; // r9
std::_List_simple_types>::_Node *v181; // rbx
std::_Hash, std::equal_to>, std::allocator>, false>>::_Mylist *p_List; // rdi
__int64 v183; // r9
std::_List_simple_types>::_Node *v184; // rbx
std::_Hash, std::equal_to>, std::allocator>, false>>::_Mylist *v185; // r14
__int64 v186; // r9
std::_List_simple_types>::_Node *v187; // rbx
__int64 v188; // r9
std::_List_simple_types>::_Node *v189; // rbx
__int64 v190; // r9
std::_List_simple_types>::_Node *v191; // rbx
__int64 v192; // r9
std::_List_simple_types>::_Node *v193; // rbx
__int64 v194; // r9
std::_List_simple_types>::_Node *v195; // rbx
__int64 v196; // r9
std::_List_simple_types>::_Node *v197; // rbx
__int64 v198; // r9
std::_List_simple_types>::_Node *v199; // rbx
__int64 v200; // r9
std::_List_simple_types>::_Node *v201; // rbx
__int64 v202; // [rsp+28h] [rbp-E0h] BYREF
unsigned __int64 v203; // [rsp+30h] [rbp-D8h]
std::_List_simple_types>::_Node *v204; // [rsp+38h] [rbp-D0h] BYREF
std::_List_simple_types>::_Node *v205; // [rsp+40h] [rbp-C8h] BYREF
std::_List_simple_types>::_Node *v206; // [rsp+48h] [rbp-C0h] BYREF
std::_List_simple_types>::_Node *v207; // [rsp+50h] [rbp-B8h] BYREF
std::_List_simple_types>::_Node *v208; // [rsp+58h] [rbp-B0h] BYREF
std::_List_simple_types>::_Node *v209; // [rsp+60h] [rbp-A8h] BYREF
std::_List_simple_types>::_Node *v210; // [rsp+68h] [rbp-A0h] BYREF
std::_List_simple_types>::_Node *v211; // [rsp+70h] [rbp-98h] BYREF
std::_List_simple_types>::_Node *v212; // [rsp+78h] [rbp-90h] BYREF
std::_List_simple_types>::_Node *v213; // [rsp+80h] [rbp-88h] BYREF
std::_List_simple_types>::_Node *v214; // [rsp+88h] [rbp-80h] BYREF
std::_List_simple_types>::_Node *v215; // [rsp+90h] [rbp-78h] BYREF
unsigned __int64 v216; // [rsp+98h] [rbp-70h]
char v217[8]; // [rsp+A0h] [rbp-68h] BYREF
char v218[8]; // [rsp+A8h] [rbp-60h] BYREF
char v219[8]; // [rsp+B0h] [rbp-58h] BYREF
char v220[8]; // [rsp+B8h] [rbp-50h] BYREF
char v221[8]; // [rsp+C0h] [rbp-48h] BYREF
char v222[8]; // [rsp+C8h] [rbp-40h] BYREF
char v223[8]; // [rsp+D0h] [rbp-38h] BYREF
char v224[8]; // [rsp+D8h] [rbp-30h] BYREF
char v225[8]; // [rsp+E0h] [rbp-28h] BYREF
char v226[8]; // [rsp+E8h] [rbp-20h] BYREF
char v227[8]; // [rsp+F0h] [rbp-18h] BYREF
char v228[8]; // [rsp+F8h] [rbp-10h] BYREF
char v229[8]; // [rsp+100h] [rbp-8h] BYREF
char v230[8]; // [rsp+108h] [rbp+0h] BYREF
char v231[8]; // [rsp+110h] [rbp+8h] BYREF
char v232[8]; // [rsp+118h] [rbp+10h] BYREF
char v233[8]; // [rsp+120h] [rbp+18h] BYREF
char v234[8]; // [rsp+128h] [rbp+20h] BYREF
char v235[16]; // [rsp+130h] [rbp+28h] BYREF
char v236[16]; // [rsp+140h] [rbp+38h] BYREF
char v237[16]; // [rsp+150h] [rbp+48h] BYREF
char v238[16]; // [rsp+160h] [rbp+58h] BYREF
char v239[16]; // [rsp+170h] [rbp+68h] BYREF
char v240[16]; // [rsp+180h] [rbp+78h] BYREF
char v241[16]; // [rsp+190h] [rbp+88h] BYREF
char v242[16]; // [rsp+1A0h] [rbp+98h] BYREF
char v243[16]; // [rsp+1B0h] [rbp+A8h] BYREF
char v244[16]; // [rsp+1C0h] [rbp+B8h] BYREF
char v245[16]; // [rsp+1D0h] [rbp+C8h] BYREF
std::vector *v247; // [rsp+238h] [rbp+130h]
v247 = a3;
v6 = a3->_Mypair._Myval2._Mylast - a3->_Mypair._Myval2._Myfirst;
v7 = a1;
if ( v6 > 1 )
{
v8 = 0;
v203 = 0;
v216 = v6 - 1;
v9 = 0x6BE0747C289C0282LL;
while ( 1 )
{
v10 = &v7->m_spawnRemapTriggers._Mypair._Myval2._Myfirst[(__int64)a3->_Mypair._Myval2._Myfirst[v8]];
Myfirst = v10->_Vec._Mypair._Myval2._Myfirst;
Myhead = v10->_List._Mypair._Myval2._Myhead;
Ptr = Myfirst[2
* ((0x100000001B3LL
* (HIBYTE(a2->m_targetGroupID)
^ (0x100000001B3LL
* (BYTE2(a2->m_targetGroupID)
^ (0x100000001B3LL
* (BYTE1(a2->m_targetGroupID)
^ (0x100000001B3LL * (LOBYTE(a2->m_targetGroupID) ^ 0xCBF29CE484222325uLL))))))))
& v10->_Mask)
+ 1]._Ptr;
if ( Ptr == Myhead )
goto LABEL_8;
v14 = Myfirst[2
* ((0x100000001B3LL
* (HIBYTE(a2->m_targetGroupID)
^ (0x100000001B3LL
* (BYTE2(a2->m_targetGroupID)
^ (0x100000001B3LL
* (BYTE1(a2->m_targetGroupID)
^ (0x100000001B3LL * (LOBYTE(a2->m_targetGroupID) ^ 0xCBF29CE484222325uLL))))))))
& v10->_Mask)]._Ptr;
m_targetGroupID = a2->m_targetGroupID;
if ( m_targetGroupID != *((_DWORD *)Ptr + 4) )
break;
LABEL_9:
if ( !Ptr || Ptr == Myhead )
goto LABEL_21;
v16 = a4->_List._Mypair._Myval2._Myhead;
v17 = &a4->_Vec._Mypair._Myval2._Myfirst[2 * (a4->_Mask & 0xED75620290A80776uLL)];
v18 = v17[1]._Ptr;
if ( v18 != v16 )
{
if ( *((_DWORD *)v18 + 4) == 51 )
goto LABEL_17;
while ( v18 != v17->_Ptr )
{
v18 = *((std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr *)v18
+ 1);
if ( *((_DWORD *)v18 + 4) == 51 )
goto LABEL_17;
}
}
v18 = nullptr;
LABEL_17:
if ( !v18 || v18 == v16 )
{
LODWORD(v202) = 51;
v19 = sub_1401795B0(&a4->_Traitsobj._Mypair._Myval2._Myval2, (__int64)v235, (unsigned __int8 *)&v202);
v9 = 0x6BE0747C289C0282LL;
*(_DWORD *)(*(_QWORD *)v19 + 20LL) = a2->m_targetGroupID;
}
a2->m_targetGroupID = *((_DWORD *)Ptr + 5);
LABEL_21:
v20 = v10->_Vec._Mypair._Myval2._Myfirst;
v21 = 0x100000001B3LL
* (HIBYTE(a2->m_centerGroupID)
^ (0x100000001B3LL
* (BYTE2(a2->m_centerGroupID)
^ (0x100000001B3LL
* (BYTE1(a2->m_centerGroupID) ^ (0x100000001B3LL * (LOBYTE(a2->m_centerGroupID) ^ 0xCBF29CE484222325uLL)))))));
v22 = v20[2 * (v21 & v10->_Mask) + 1]._Ptr;
if ( v22 == v10->_List._Mypair._Myval2._Myhead )
goto LABEL_26;
v23 = v20[2 * (v21 & v10->_Mask)]._Ptr;
m_centerGroupID = a2->m_centerGroupID;
if ( m_centerGroupID != *((_DWORD *)v22 + 4) )
{
while ( v22 != v23 )
{
v22 = *((std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr *)v22
+ 1);
if ( m_centerGroupID == *((_DWORD *)v22 + 4) )
goto LABEL_27;
}
LABEL_26:
v22 = nullptr;
}
LABEL_27:
if ( !v22 || v22 == v10->_List._Mypair._Myval2._Myhead )
goto LABEL_40;
v25 = a4->_List._Mypair._Myval2._Myhead;
v26 = &a4->_Vec._Mypair._Myval2._Myfirst[2 * (a4->_Mask & 0x6BE0747C289C0282LL)];
v27 = v26[1]._Ptr;
if ( v27 == v25 )
goto LABEL_34;
if ( *((_DWORD *)v27 + 4) != 71 )
{
while ( v27 != v26->_Ptr )
{
v27 = *((std::_List_val>>::_Nodeptr *)v27 + 1);
if ( *((_DWORD *)v27 + 4) == 71 )
goto LABEL_35;
}
LABEL_34:
v27 = nullptr;
}
LABEL_35:
if ( !v27 )
v27 = a4->_List._Mypair._Myval2._Myhead;
if ( v27 == v25 )
{
LODWORD(v202) = 71;
*(_DWORD *)(*(_QWORD *)sub_1401795B0(
&a4->_Traitsobj._Mypair._Myval2._Myval2,
(__int64)v236,
(unsigned __int8 *)&v202)
+ 20LL) = a2->m_centerGroupID;
}
a2->m_centerGroupID = *((_DWORD *)v22 + 5);
LABEL_40:
v28 = v10->_Vec._Mypair._Myval2._Myfirst;
v29 = 0x100000001B3LL
* (HIBYTE(a2->m_itemID)
^ (0x100000001B3LL
* (BYTE2(a2->m_itemID)
^ (0x100000001B3LL
* (BYTE1(a2->m_itemID) ^ (0x100000001B3LL * (LOBYTE(a2->m_itemID) ^ 0xCBF29CE484222325uLL)))))));
v30 = v28[2 * (v29 & v10->_Mask) + 1]._Ptr;
if ( v30 == v10->_List._Mypair._Myval2._Myhead )
goto LABEL_45;
v31 = v28[2 * (v29 & v10->_Mask)]._Ptr;
m_itemID = a2->m_itemID;
if ( m_itemID != *((_DWORD *)v30 + 4) )
{
while ( v30 != v31 )
{
v30 = *((std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr *)v30
+ 1);
if ( m_itemID == *((_DWORD *)v30 + 4) )
goto LABEL_46;
}
LABEL_45:
v30 = nullptr;
}
LABEL_46:
if ( !v30 || v30 == v10->_List._Mypair._Myval2._Myhead )
goto LABEL_59;
v33 = a4->_List._Mypair._Myval2._Myhead;
v34 = &a4->_Vec._Mypair._Myval2._Myfirst[2 * (a4->_Mask & 0x4B7B391A8E990145LL)];
v35 = v34[1]._Ptr;
if ( v35 == v33 )
goto LABEL_53;
if ( *((_DWORD *)v35 + 4) != 80 )
{
while ( v35 != v34->_Ptr )
{
v35 = *((std::_List_val>>::_Nodeptr *)v35 + 1);
if ( *((_DWORD *)v35 + 4) == 80 )
goto LABEL_54;
}
LABEL_53:
v35 = nullptr;
}
LABEL_54:
if ( !v35 )
v35 = a4->_List._Mypair._Myval2._Myhead;
if ( v35 == v33 )
{
LODWORD(v202) = 80;
*(_DWORD *)(*(_QWORD *)sub_1401795B0(
&a4->_Traitsobj._Mypair._Myval2._Myval2,
(__int64)v237,
(unsigned __int8 *)&v202)
+ 20LL) = a2->m_itemID;
}
a2->m_itemID = *((_DWORD *)v30 + 5);
LABEL_59:
v36 = v10->_Vec._Mypair._Myval2._Myfirst;
v37 = 0x100000001B3LL
* (HIBYTE(a2->m_itemID2)
^ (0x100000001B3LL
* (BYTE2(a2->m_itemID2)
^ (0x100000001B3LL
* (BYTE1(a2->m_itemID2) ^ (0x100000001B3LL * (LOBYTE(a2->m_itemID2) ^ 0xCBF29CE484222325uLL)))))));
v38 = v36[2 * (v37 & v10->_Mask) + 1]._Ptr;
if ( v38 == v10->_List._Mypair._Myval2._Myhead )
goto LABEL_64;
v39 = v36[2 * (v37 & v10->_Mask)]._Ptr;
m_itemID2 = a2->m_itemID2;
if ( m_itemID2 != *((_DWORD *)v38 + 4) )
{
while ( v38 != v39 )
{
v38 = *((std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr *)v38
+ 1);
if ( m_itemID2 == *((_DWORD *)v38 + 4) )
goto LABEL_65;
}
LABEL_64:
v38 = nullptr;
}
LABEL_65:
if ( !v38 || v38 == v10->_List._Mypair._Myval2._Myhead )
goto LABEL_78;
v41 = a4->_List._Mypair._Myval2._Myhead;
v42 = &a4->_Vec._Mypair._Myval2._Myfirst[2 * (a4->_Mask & 0x6B6095443DA5B01ALL)];
v43 = v42[1]._Ptr;
if ( v43 == v41 )
goto LABEL_72;
if ( *((_DWORD *)v43 + 4) != 95 )
{
while ( v43 != v42->_Ptr )
{
v43 = *((std::_List_val>>::_Nodeptr *)v43 + 1);
if ( *((_DWORD *)v43 + 4) == 95 )
goto LABEL_73;
}
LABEL_72:
v43 = nullptr;
}
LABEL_73:
if ( !v43 )
v43 = a4->_List._Mypair._Myval2._Myhead;
if ( v43 == v41 )
{
LODWORD(v202) = 95;
*(_DWORD *)(*(_QWORD *)sub_1401795B0(
&a4->_Traitsobj._Mypair._Myval2._Myval2,
(__int64)v238,
(unsigned __int8 *)&v202)
+ 20LL) = a2->m_itemID2;
}
a2->m_itemID2 = *((_DWORD *)v38 + 5);
LABEL_78:
v44 = v10->_Vec._Mypair._Myval2._Myfirst;
v45 = 0x100000001B3LL
* (HIBYTE(a2->m_controlID)
^ (0x100000001B3LL
* (BYTE2(a2->m_controlID)
^ (0x100000001B3LL
* (BYTE1(a2->m_controlID) ^ (0x100000001B3LL * (LOBYTE(a2->m_controlID) ^ 0xCBF29CE484222325uLL)))))));
v46 = v44[2 * (v45 & v10->_Mask) + 1]._Ptr;
if ( v46 == v10->_List._Mypair._Myval2._Myhead )
goto LABEL_83;
v47 = v44[2 * (v45 & v10->_Mask)]._Ptr;
m_controlID = a2->m_controlID;
if ( m_controlID != *((_DWORD *)v46 + 4) )
{
while ( v46 != v47 )
{
v46 = *((std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr *)v46
+ 1);
if ( m_controlID == *((_DWORD *)v46 + 4) )
goto LABEL_84;
}
LABEL_83:
v46 = nullptr;
}
LABEL_84:
if ( !v46 || v46 == v10->_List._Mypair._Myval2._Myhead )
goto LABEL_97;
v49 = a4->_List._Mypair._Myval2._Myhead;
v50 = &a4->_Vec._Mypair._Myval2._Myfirst[2 * (a4->_Mask & 0x1E2DD4F45E8E6139LL)];
v51 = v50[1]._Ptr;
if ( v51 == v49 )
goto LABEL_91;
if ( *((_DWORD *)v51 + 4) != 534 )
{
while ( v51 != v50->_Ptr )
{
v51 = *((std::_List_val>>::_Nodeptr *)v51 + 1);
if ( *((_DWORD *)v51 + 4) == 534 )
goto LABEL_92;
}
LABEL_91:
v51 = nullptr;
}
LABEL_92:
if ( !v51 )
v51 = a4->_List._Mypair._Myval2._Myhead;
if ( v51 == v49 )
{
LODWORD(v202) = 534;
*(_DWORD *)(*(_QWORD *)sub_1401795B0(
&a4->_Traitsobj._Mypair._Myval2._Myval2,
(__int64)v239,
(unsigned __int8 *)&v202)
+ 20LL) = a2->m_controlID;
}
a2->m_controlID = *((_DWORD *)v46 + 5);
LABEL_97:
v52 = v10->_Vec._Mypair._Myval2._Myfirst;
v53 = 0x100000001B3LL
* (HIBYTE(a2->m_animationID)
^ (0x100000001B3LL
* (BYTE2(a2->m_animationID)
^ (0x100000001B3LL
* (BYTE1(a2->m_animationID) ^ (0x100000001B3LL * (LOBYTE(a2->m_animationID) ^ 0xCBF29CE484222325uLL)))))));
v54 = v52[2 * (v53 & v10->_Mask) + 1]._Ptr;
if ( v54 == v10->_List._Mypair._Myval2._Myhead )
goto LABEL_102;
v55 = v52[2 * (v53 & v10->_Mask)]._Ptr;
m_animationID = a2->m_animationID;
if ( m_animationID != *((_DWORD *)v54 + 4) )
{
while ( v54 != v55 )
{
v54 = *((std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr *)v54
+ 1);
if ( m_animationID == *((_DWORD *)v54 + 4) )
goto LABEL_103;
}
LABEL_102:
v54 = nullptr;
}
LABEL_103:
if ( !v54 || v54 == v10->_List._Mypair._Myval2._Myhead )
goto LABEL_116;
v57 = a4->_List._Mypair._Myval2._Myhead;
v58 = &a4->_Vec._Mypair._Myval2._Myfirst[2 * (a4->_Mask & 0xCBBB28B684142A79uLL)];
v59 = v58[1]._Ptr;
if ( v59 == v57 )
goto LABEL_110;
if ( *((_DWORD *)v59 + 4) != 76 )
{
while ( v59 != v58->_Ptr )
{
v59 = *((std::_List_val>>::_Nodeptr *)v59 + 1);
if ( *((_DWORD *)v59 + 4) == 76 )
goto LABEL_111;
}
LABEL_110:
v59 = nullptr;
}
LABEL_111:
if ( !v59 )
v59 = a4->_List._Mypair._Myval2._Myhead;
if ( v59 == v57 )
{
LODWORD(v202) = 76;
*(_DWORD *)(*(_QWORD *)sub_1401795B0(
&a4->_Traitsobj._Mypair._Myval2._Myval2,
(__int64)v240,
(unsigned __int8 *)&v202)
+ 20LL) = a2->m_animationID;
}
a2->m_animationID = *((_DWORD *)v54 + 5);
LABEL_116:
m_objectID = a2->m_objectID;
if ( m_objectID > 2903 )
{
if ( m_objectID > 3602 )
{
switch ( m_objectID )
{
case 3603:
goto LABEL_316;
case 3604:
sub_14024D5A0(v10, &v211, &a2[1].m_uReference, v9);
v193 = v211;
if ( v211 != v10->_List._Mypair._Myval2._Myhead )
{
LODWORD(v202) = 447;
if ( *(std::_List_val>>::_Nodeptr *)sub_14024D5A0(a4, v230, &v202, v192) == a4->_List._Mypair._Myval2._Myhead )
{
LODWORD(v202) = 447;
*(_DWORD *)sub_140178290((__int64)a4, (__int64)&v202) = a2[1].m_uReference;
}
a2[1].m_uReference = *((_DWORD *)v193 + 5);
}
sub_14024D5A0(v10, &v212, &a2[1].m_uAutoReleaseCount, v192);
v195 = v212;
if ( v212 != v10->_List._Mypair._Myval2._Myhead )
{
LODWORD(v202) = 525;
if ( *(std::_List_val>>::_Nodeptr *)sub_14024D5A0(a4, v231, &v202, v194) == a4->_List._Mypair._Myval2._Myhead )
{
LODWORD(v202) = 525;
*(_DWORD *)sub_140178290((__int64)a4, (__int64)&v202) = a2[1].m_uAutoReleaseCount;
}
a2[1].m_uAutoReleaseCount = *((_DWORD *)v195 + 5);
}
break;
case 3605:
goto LABEL_392;
case 3607:
goto LABEL_122;
case 3660:
case 3661:
LABEL_422:
sub_14024D5A0(v10, &v213, (char *)&a2[1].m_pUserData + 4, v9);
v197 = v213;
if ( v213 != v10->_List._Mypair._Myval2._Myhead )
{
LODWORD(v202) = 366;
if ( *(std::_List_val>>::_Nodeptr *)sub_14024D5A0(a4, v232, &v202, v196) == a4->_List._Mypair._Myval2._Myhead )
{
LODWORD(v202) = 366;
*(_DWORD *)sub_140178290((__int64)a4, (__int64)&v202) = HIDWORD(a2[1].m_pUserData);
}
HIDWORD(a2[1].m_pUserData) = *((_DWORD *)v197 + 5);
}
sub_14024D5A0(v10, &v214, &a2[1].m_nTag, v196);
v199 = v214;
if ( v214 != v10->_List._Mypair._Myval2._Myhead )
{
LODWORD(v202) = 560;
if ( *(std::_List_val>>::_Nodeptr *)sub_14024D5A0(a4, v233, &v202, v198) == a4->_List._Mypair._Myval2._Myhead )
{
LODWORD(v202) = 560;
*(_DWORD *)sub_140178290((__int64)a4, (__int64)&v202) = a2[1].m_nTag;
}
a2[1].m_nTag = *((_DWORD *)v199 + 5);
}
sub_14024D5A0(v10, &v215, &a2[1].m_eObjType, v198);
v201 = v215;
if ( v215 != v10->_List._Mypair._Myval2._Myhead )
{
LODWORD(v202) = 565;
if ( *(std::_List_val>>::_Nodeptr *)sub_14024D5A0(a4, v234, &v202, v200) == a4->_List._Mypair._Myval2._Myhead )
{
LODWORD(v202) = 565;
*(_DWORD *)sub_140178290((__int64)a4, (__int64)&v202) = a2[1].m_eObjType;
}
a2[1].m_eObjType = *((_DWORD *)v201 + 5);
}
break;
default:
goto LABEL_412;
}
goto LABEL_412;
}
if ( m_objectID != 3602 )
{
switch ( m_objectID )
{
case 3006:
case 3007:
case 3008:
case 3009:
case 3010:
case 3017:
case 3018:
case 3019:
case 3020:
case 3021:
case 3023:
sub_14024D5A0(v10, &v204, &a2[1].m_sTransform.d, v9);
v138 = v204;
if ( v204 != v10->_List._Mypair._Myval2._Myhead )
{
LODWORD(v202) = 225;
if ( *(std::_List_val>>::_Nodeptr *)sub_14024D5A0(a4, v222, &v202, v137) == a4->_List._Mypair._Myval2._Myhead )
{
LODWORD(v202) = 225;
*(float *)sub_140178290((__int64)a4, (__int64)&v202) = a2[1].m_sTransform.d;
}
a2[1].m_sTransform.d = *((float *)v138 + 5);
}
sub_14024D5A0(v10, &v205, &a2[1].m_pCamera, v137);
v140 = v205;
if ( v205 != v10->_List._Mypair._Myval2._Myhead )
{
LODWORD(v202) = 344;
if ( *(std::_List_val>>::_Nodeptr *)sub_14024D5A0(a4, v223, &v202, v139) == a4->_List._Mypair._Myval2._Myhead )
{
LODWORD(v202) = 344;
*(_DWORD *)sub_140178290((__int64)a4, (__int64)&v202) = a2[1].m_pCamera;
}
LODWORD(a2[1].m_pCamera) = *((_DWORD *)v140 + 5);
}
m_enterChannel = a2->m_enterChannel;
v142 = v10->_Vec._Mypair._Myval2._Myfirst;
v143 = 0x100000001B3LL
* (HIBYTE(m_enterChannel)
^ (0x100000001B3LL
* (HIBYTE(m_enterChannel)
^ (0x100000001B3LL
* ((0x100000001B3LL * ((unsigned __int8)a2->m_enterChannel ^ 0xCBF29CE484222325uLL))
^ (unsigned __int8)HIBYTE(a2->m_enterChannel))))));
v144 = v142[2 * (v143 & v10->_Mask) + 1]._Ptr;
if ( v144 == v10->_List._Mypair._Myval2._Myhead )
goto LABEL_309;
v145 = v142[2 * (v143 & v10->_Mask)]._Ptr;
if ( m_enterChannel == *((_DWORD *)v144 + 4) )
goto LABEL_310;
break;
case 3016:
goto LABEL_422;
default:
goto LABEL_412;
}
while ( v144 != v145 )
{
v144 = *((std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr *)v144
+ 1);
if ( m_enterChannel == *((_DWORD *)v144 + 4) )
goto LABEL_310;
}
LABEL_309:
v144 = nullptr;
LABEL_310:
if ( v144 && v144 != v10->_List._Mypair._Myval2._Myhead )
{
LODWORD(v202) = 343;
if ( *(std::_List_val>>::_Nodeptr *)sub_14024D5A0(
a4,
v224,
&v202,
v139) == a4->_List._Mypair._Myval2._Myhead )
{
v146 = a2->m_enterChannel;
LODWORD(v202) = 343;
*(_DWORD *)sub_140178290((__int64)a4, (__int64)&v202) = v146;
}
a2->m_enterChannel = *((_WORD *)v144 + 10);
}
goto LABEL_412;
}
LABEL_316:
v147 = v10->_Vec._Mypair._Myval2._Myfirst;
v148 = 0x100000001B3LL
* (HIBYTE(a2[1].m_uIndexInArray)
^ (0x100000001B3LL
* (BYTE2(a2[1].m_uIndexInArray)
^ (0x100000001B3LL
* (BYTE1(a2[1].m_uIndexInArray)
^ (0x100000001B3LL * (LOBYTE(a2[1].m_uIndexInArray) ^ 0xCBF29CE484222325uLL)))))));
v149 = v147[2 * (v148 & v10->_Mask) + 1]._Ptr;
if ( v149 == v10->_List._Mypair._Myval2._Myhead )
{
LABEL_321:
v149 = nullptr;
}
else
{
v150 = v147[2 * (v148 & v10->_Mask)]._Ptr;
m_uIndexInArray = a2[1].m_uIndexInArray;
if ( m_uIndexInArray != *((_DWORD *)v149 + 4) )
{
while ( v149 != v150 )
{
v149 = *((std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr *)v149
+ 1);
if ( m_uIndexInArray == *((_DWORD *)v149 + 4) )
goto LABEL_322;
}
goto LABEL_321;
}
}
LABEL_322:
if ( v149 && v149 != v10->_List._Mypair._Myval2._Myhead )
{
v152 = a4->_List._Mypair._Myval2._Myhead;
v153 = &a4->_Vec._Mypair._Myval2._Myfirst[2 * (a4->_Mask & 0x41A75FED65724252LL)];
v154 = v153[1]._Ptr;
if ( v154 == v152 )
goto LABEL_329;
if ( *((_DWORD *)v154 + 4) != 392 )
{
while ( v154 != v153->_Ptr )
{
v154 = *((std::_List_val>>::_Nodeptr *)v154 + 1);
if ( *((_DWORD *)v154 + 4) == 392 )
goto LABEL_330;
}
LABEL_329:
v154 = nullptr;
}
LABEL_330:
if ( !v154 )
v154 = a4->_List._Mypair._Myval2._Myhead;
if ( v154 == v152 )
{
LODWORD(v202) = 392;
*(_DWORD *)sub_140178290((__int64)a4, (__int64)&v202) = a2[1].m_uIndexInArray;
}
a2[1].m_uIndexInArray = *((_DWORD *)v149 + 5);
}
v155 = v10->_Vec._Mypair._Myval2._Myfirst;
v156 = 0x100000001B3LL
* (HIBYTE(a2[1].m_sAdditionalTransform.a)
^ (0x100000001B3LL
* (BYTE2(a2[1].m_sAdditionalTransform.a)
^ (0x100000001B3LL
* (BYTE1(a2[1].m_sAdditionalTransform.a)
^ (0x100000001B3LL * (LOBYTE(a2[1].m_sAdditionalTransform.a) ^ 0xCBF29CE484222325uLL)))))));
v157 = v155[2 * (v156 & v10->_Mask) + 1]._Ptr;
if ( v157 == v10->_List._Mypair._Myval2._Myhead )
{
LABEL_340:
v157 = nullptr;
}
else
{
v158 = v155[2 * (v156 & v10->_Mask)]._Ptr;
a = a2[1].m_sAdditionalTransform.a;
if ( LODWORD(a) != *((_DWORD *)v157 + 4) )
{
while ( v157 != v158 )
{
v157 = *((std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr *)v157
+ 1);
if ( LODWORD(a) == *((_DWORD *)v157 + 4) )
goto LABEL_341;
}
goto LABEL_340;
}
}
LABEL_341:
if ( v157 && v157 != v10->_List._Mypair._Myval2._Myhead )
{
v160 = a4->_List._Mypair._Myval2._Myhead;
v161 = &a4->_Vec._Mypair._Myval2._Myfirst[2 * (a4->_Mask & 0x71DFF3A7486249ADLL)];
v162 = v161[1]._Ptr;
if ( v162 == v160 )
goto LABEL_348;
if ( *((_DWORD *)v162 + 4) != 455 )
{
while ( v162 != v161->_Ptr )
{
v162 = *((std::_List_val>>::_Nodeptr *)v162 + 1);
if ( *((_DWORD *)v162 + 4) == 455 )
goto LABEL_349;
}
LABEL_348:
v162 = nullptr;
}
LABEL_349:
if ( !v162 )
v162 = a4->_List._Mypair._Myval2._Myhead;
if ( v162 == v160 )
{
LODWORD(v202) = 455;
*(float *)sub_140178290((__int64)a4, (__int64)&v202) = a2[1].m_sAdditionalTransform.a;
}
a2[1].m_sAdditionalTransform.a = *((float *)v157 + 5);
}
v163 = v10->_Vec._Mypair._Myval2._Myfirst;
v164 = 0x100000001B3LL
* (HIBYTE(a2[1].m_sAdditionalTransform.c)
^ (0x100000001B3LL
* (BYTE2(a2[1].m_sAdditionalTransform.c)
^ (0x100000001B3LL
* (BYTE1(a2[1].m_sAdditionalTransform.c)
^ (0x100000001B3LL * (LOBYTE(a2[1].m_sAdditionalTransform.c) ^ 0xCBF29CE484222325uLL)))))));
v165 = v163[2 * (v164 & v10->_Mask) + 1]._Ptr;
if ( v165 == v10->_List._Mypair._Myval2._Myhead )
{
LABEL_359:
v165 = nullptr;
}
else
{
v166 = v163[2 * (v164 & v10->_Mask)]._Ptr;
c = a2[1].m_sAdditionalTransform.c;
if ( LODWORD(c) != *((_DWORD *)v165 + 4) )
{
while ( v165 != v166 )
{
v165 = *((std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr *)v165
+ 1);
if ( LODWORD(c) == *((_DWORD *)v165 + 4) )
goto LABEL_360;
}
goto LABEL_359;
}
}
LABEL_360:
if ( v165 && v165 != v10->_List._Mypair._Myval2._Myhead )
{
v168 = a4->_List._Mypair._Myval2._Myhead;
v169 = &a4->_Vec._Mypair._Myval2._Myfirst[2 * (a4->_Mask & 0xB1AAABFAA67BA757uLL)];
v170 = v169[1]._Ptr;
if ( v170 == v168 )
goto LABEL_367;
if ( *((_DWORD *)v170 + 4) != 457 )
{
while ( v170 != v169->_Ptr )
{
v170 = *((std::_List_val>>::_Nodeptr *)v170 + 1);
if ( *((_DWORD *)v170 + 4) == 457 )
goto LABEL_368;
}
LABEL_367:
v170 = nullptr;
}
LABEL_368:
if ( !v170 )
v170 = a4->_List._Mypair._Myval2._Myhead;
if ( v170 == v168 )
{
LODWORD(v202) = 457;
*(float *)sub_140178290((__int64)a4, (__int64)&v202) = a2[1].m_sAdditionalTransform.c;
}
a2[1].m_sAdditionalTransform.c = *((float *)v165 + 5);
}
v171 = v10->_Vec._Mypair._Myval2._Myfirst;
v172 = 0x100000001B3LL
* (HIBYTE(a2[1].m_obPosition.x)
^ (0x100000001B3LL
* (BYTE2(a2[1].m_obPosition.x)
^ (0x100000001B3LL
* (BYTE1(a2[1].m_obPosition.x)
^ (0x100000001B3LL * (LOBYTE(a2[1].m_obPosition.x) ^ 0xCBF29CE484222325uLL)))))));
v173 = v171[2 * (v172 & v10->_Mask) + 1]._Ptr;
if ( v173 == v10->_List._Mypair._Myval2._Myhead )
{
LABEL_378:
v173 = nullptr;
}
else
{
v174 = v171[2 * (v172 & v10->_Mask)]._Ptr;
x = a2[1].m_obPosition.x;
if ( LODWORD(x) != *((_DWORD *)v173 + 4) )
{
while ( v173 != v174 )
{
v173 = *((std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr *)v173
+ 1);
if ( LODWORD(x) == *((_DWORD *)v173 + 4) )
goto LABEL_379;
}
goto LABEL_378;
}
}
LABEL_379:
if ( v173 && v173 != v10->_List._Mypair._Myval2._Myhead )
{
v176 = a4->_List._Mypair._Myval2._Myhead;
v177 = &a4->_Vec._Mypair._Myval2._Myfirst[2 * (a4->_Mask & 0x427C7E9FED0CCBAALL)];
v178 = v177[1]._Ptr;
if ( v178 == v176 )
goto LABEL_386;
v179 = v177->_Ptr;
if ( *((_DWORD *)v178 + 4) != 416 )
{
while ( v178 != v179 )
{
v178 = *((std::_List_val>>::_Nodeptr *)v178 + 1);
if ( *((_DWORD *)v178 + 4) == 416 )
goto LABEL_387;
}
LABEL_386:
v178 = nullptr;
}
LABEL_387:
if ( !v178 )
v178 = a4->_List._Mypair._Myval2._Myhead;
if ( v178 == v176 )
{
LODWORD(v202) = 416;
*(float *)sub_140178290((__int64)a4, (__int64)&v202) = a2[1].m_obPosition.x;
}
a2[1].m_obPosition.x = *((float *)v173 + 5);
goto LABEL_412;
}
goto LABEL_412;
}
if ( m_objectID == 2903 )
{
v95 = v10->_Vec._Mypair._Myval2._Myfirst;
v96 = 0x100000001B3LL
* (HIBYTE(a2[1].m_nLuaID)
^ (0x100000001B3LL
* (BYTE2(a2[1].m_nLuaID)
^ (0x100000001B3LL
* (BYTE1(a2[1].m_nLuaID) ^ (0x100000001B3LL * (LOBYTE(a2[1].m_nLuaID) ^ 0xCBF29CE484222325uLL)))))));
v97 = v95[2 * (v96 & v10->_Mask) + 1]._Ptr;
if ( v97 == v10->_List._Mypair._Myval2._Myhead )
goto LABEL_202;
v98 = v95[2 * (v96 & v10->_Mask)]._Ptr;
m_nLuaID = a2[1].m_nLuaID;
if ( m_nLuaID != *((_DWORD *)v97 + 4) )
{
while ( v97 != v98 )
{
v97 = *((std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr *)v97
+ 1);
if ( m_nLuaID == *((_DWORD *)v97 + 4) )
goto LABEL_203;
}
LABEL_202:
v97 = nullptr;
}
LABEL_203:
if ( v97 && v97 != v10->_List._Mypair._Myval2._Myhead )
{
v100 = a4->_List._Mypair._Myval2._Myhead;
v101 = &a4->_Vec._Mypair._Myval2._Myfirst[2 * (a4->_Mask & 0xE8F6890B4DFF21CEuLL)];
v102 = v101[1]._Ptr;
if ( v102 == v100 )
goto LABEL_210;
if ( *((_DWORD *)v102 + 4) != 203 )
{
while ( v102 != v101->_Ptr )
{
v102 = *((std::_List_val>>::_Nodeptr *)v102 + 1);
if ( *((_DWORD *)v102 + 4) == 203 )
goto LABEL_211;
}
LABEL_210:
v102 = nullptr;
}
LABEL_211:
if ( !v102 )
v102 = a4->_List._Mypair._Myval2._Myhead;
if ( v102 == v100 )
{
LODWORD(v202) = 203;
*(_DWORD *)(*(_QWORD *)sub_1401795B0(
&a4->_Traitsobj._Mypair._Myval2._Myval2,
(__int64)v241,
(unsigned __int8 *)&v202)
+ 20LL) = a2[1].m_nLuaID;
}
a2[1].m_nLuaID = *((_DWORD *)v97 + 5);
}
v103 = v10->_Vec._Mypair._Myval2._Myfirst;
v104 = 0x100000001B3LL
* (HIBYTE(a2[1].m_nTag)
^ (0x100000001B3LL
* (BYTE2(a2[1].m_nTag)
^ (0x100000001B3LL
* (BYTE1(a2[1].m_nTag) ^ (0x100000001B3LL * (LOBYTE(a2[1].m_nTag) ^ 0xCBF29CE484222325uLL)))))));
v105 = v103[2 * (v104 & v10->_Mask) + 1]._Ptr;
if ( v105 == v10->_List._Mypair._Myval2._Myhead )
{
LABEL_221:
v105 = nullptr;
}
else
{
v106 = v103[2 * (v104 & v10->_Mask)]._Ptr;
m_nTag = a2[1].m_nTag;
if ( m_nTag != *((_DWORD *)v105 + 4) )
{
while ( v105 != v106 )
{
v105 = *((std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr *)v105
+ 1);
if ( m_nTag == *((_DWORD *)v105 + 4) )
goto LABEL_222;
}
goto LABEL_221;
}
}
LABEL_222:
if ( v105 && v105 != v10->_List._Mypair._Myval2._Myhead )
{
v108 = a4->_List._Mypair._Myval2._Myhead;
v109 = &a4->_Vec._Mypair._Myval2._Myfirst[2 * (a4->_Mask & 0xC9112CE19EF272F9uLL)];
v110 = v109[1]._Ptr;
if ( v110 == v108 )
goto LABEL_230;
v111 = v109->_Ptr;
if ( *((_DWORD *)v110 + 4) != 204 )
{
while ( v110 != v111 )
{
v110 = *((std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr *)v110
+ 1);
if ( *((_DWORD *)v110 + 4) == 204 )
{
v108 = a4->_List._Mypair._Myval2._Myhead;
goto LABEL_231;
}
}
v108 = a4->_List._Mypair._Myval2._Myhead;
LABEL_230:
v110 = nullptr;
}
LABEL_231:
if ( !v110 )
v110 = v108;
if ( v110 == v108 )
{
LODWORD(v202) = 204;
*(_DWORD *)(*(_QWORD *)sub_1401795B0(
&a4->_Traitsobj._Mypair._Myval2._Myval2,
(__int64)v242,
(unsigned __int8 *)&v202)
+ 20LL) = a2[1].m_nTag;
}
a2[1].m_nTag = *((_DWORD *)v105 + 5);
}
v112 = v10->_Vec._Mypair._Myval2._Myfirst;
v113 = 0x100000001B3LL
* (HIBYTE(a2[1].m_uReference)
^ (0x100000001B3LL
* (BYTE2(a2[1].m_uReference)
^ (0x100000001B3LL
* (BYTE1(a2[1].m_uReference) ^ (0x100000001B3LL * (LOBYTE(a2[1].m_uReference) ^ 0xCBF29CE484222325uLL)))))));
v114 = v112[2 * (v113 & v10->_Mask) + 1]._Ptr;
if ( v114 == v10->_List._Mypair._Myval2._Myhead )
{
LABEL_241:
v114 = nullptr;
}
else
{
v115 = v112[2 * (v113 & v10->_Mask)]._Ptr;
m_uReference = a2[1].m_uReference;
if ( m_uReference != *((_DWORD *)v114 + 4) )
{
while ( v114 != v115 )
{
v114 = *((std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr *)v114
+ 1);
if ( m_uReference == *((_DWORD *)v114 + 4) )
goto LABEL_242;
}
goto LABEL_241;
}
}
LABEL_242:
if ( v114 && v114 != v10->_List._Mypair._Myval2._Myhead )
{
v117 = a4->_List._Mypair._Myval2._Myhead;
v118 = &a4->_Vec._Mypair._Myval2._Myfirst[2 * (a4->_Mask & 0x291680D948BCB668LL)];
v119 = v118[1]._Ptr;
if ( v119 == v117 )
goto LABEL_249;
if ( *((_DWORD *)v119 + 4) != 205 )
{
while ( v119 != v118->_Ptr )
{
v119 = *((std::_List_val>>::_Nodeptr *)v119 + 1);
if ( *((_DWORD *)v119 + 4) == 205 )
goto LABEL_250;
}
LABEL_249:
v119 = nullptr;
}
LABEL_250:
if ( !v119 )
v119 = a4->_List._Mypair._Myval2._Myhead;
if ( v119 == v117 )
{
LODWORD(v202) = 205;
*(_DWORD *)(*(_QWORD *)sub_1401795B0(
&a4->_Traitsobj._Mypair._Myval2._Myval2,
(__int64)v243,
(unsigned __int8 *)&v202)
+ 20LL) = a2[1].m_uReference;
}
a2[1].m_uReference = *((_DWORD *)v114 + 5);
}
v120 = v10->_Vec._Mypair._Myval2._Myfirst;
v121 = 0x100000001B3LL
* (HIBYTE(a2[1].m_uAutoReleaseCount)
^ (0x100000001B3LL
* (BYTE2(a2[1].m_uAutoReleaseCount)
^ (0x100000001B3LL
* (BYTE1(a2[1].m_uAutoReleaseCount)
^ (0x100000001B3LL * (LOBYTE(a2[1].m_uAutoReleaseCount) ^ 0xCBF29CE484222325uLL)))))));
v122 = v120[2 * (v121 & v10->_Mask) + 1]._Ptr;
if ( v122 == v10->_List._Mypair._Myval2._Myhead )
{
LABEL_260:
v122 = nullptr;
}
else
{
v123 = v120[2 * (v121 & v10->_Mask)]._Ptr;
m_uAutoReleaseCount = a2[1].m_uAutoReleaseCount;
if ( m_uAutoReleaseCount != *((_DWORD *)v122 + 4) )
{
while ( v122 != v123 )
{
v122 = *((std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr *)v122
+ 1);
if ( m_uAutoReleaseCount == *((_DWORD *)v122 + 4) )
goto LABEL_261;
}
goto LABEL_260;
}
}
LABEL_261:
if ( v122 && v122 != v10->_List._Mypair._Myval2._Myhead )
{
v125 = a4->_List._Mypair._Myval2._Myhead;
v126 = &a4->_Vec._Mypair._Myval2._Myfirst[2 * (a4->_Mask & 0x90684F24B5DEC1BLL)];
v127 = v126[1]._Ptr;
if ( v127 == v125 )
goto LABEL_268;
if ( *((_DWORD *)v127 + 4) != 206 )
{
while ( v127 != v126->_Ptr )
{
v127 = *((std::_List_val>>::_Nodeptr *)v127 + 1);
if ( *((_DWORD *)v127 + 4) == 206 )
goto LABEL_269;
}
LABEL_268:
v127 = nullptr;
}
LABEL_269:
if ( !v127 )
v127 = a4->_List._Mypair._Myval2._Myhead;
if ( v127 == v125 )
{
LODWORD(v202) = 206;
*(_DWORD *)(*(_QWORD *)sub_1401795B0(
&a4->_Traitsobj._Mypair._Myval2._Myval2,
(__int64)v244,
(unsigned __int8 *)&v202)
+ 20LL) = a2[1].m_uAutoReleaseCount;
}
a2[1].m_uAutoReleaseCount = *((_DWORD *)v122 + 5);
}
v128 = v10->_Vec._Mypair._Myval2._Myfirst;
v129 = 0x100000001B3LL
* (HIBYTE(a2[1].m_uID)
^ (0x100000001B3LL
* (BYTE2(a2[1].m_uID)
^ (0x100000001B3LL
* (BYTE1(a2[1].m_uID) ^ (0x100000001B3LL * (LOBYTE(a2[1].m_uID) ^ 0xCBF29CE484222325uLL)))))));
v130 = v128[2 * (v129 & v10->_Mask) + 1]._Ptr;
if ( v130 == v10->_List._Mypair._Myval2._Myhead )
{
LABEL_279:
v130 = nullptr;
}
else
{
v131 = v128[2 * (v129 & v10->_Mask)]._Ptr;
m_uID = a2[1].m_uID;
if ( m_uID != *((_DWORD *)v130 + 4) )
{
while ( v130 != v131 )
{
v130 = *((std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr *)v130
+ 1);
if ( m_uID == *((_DWORD *)v130 + 4) )
goto LABEL_280;
}
goto LABEL_279;
}
}
LABEL_280:
if ( v130 && v130 != v10->_List._Mypair._Myval2._Myhead )
{
v133 = a4->_List._Mypair._Myval2._Myhead;
v134 = &a4->_Vec._Mypair._Myval2._Myfirst[2 * (a4->_Mask & 0xA8D6913D53418D34uLL)];
v135 = v134[1]._Ptr;
if ( v135 == v133 )
goto LABEL_287;
v136 = v134->_Ptr;
if ( *((_DWORD *)v135 + 4) != 209 )
{
while ( v135 != v136 )
{
v135 = *((std::_List_val>>::_Nodeptr *)v135 + 1);
if ( *((_DWORD *)v135 + 4) == 209 )
goto LABEL_288;
}
LABEL_287:
v135 = nullptr;
}
LABEL_288:
if ( !v135 )
v135 = a4->_List._Mypair._Myval2._Myhead;
if ( v135 == v133 )
{
LODWORD(v202) = 209;
*(_DWORD *)(*(_QWORD *)sub_1401795B0(
&a4->_Traitsobj._Mypair._Myval2._Myval2,
(__int64)v245,
(unsigned __int8 *)&v202)
+ 20LL) = a2[1].m_uID;
}
a2[1].m_uID = *((_DWORD *)v130 + 5);
goto LABEL_412;
}
goto LABEL_412;
}
if ( m_objectID != 901 )
{
if ( m_objectID != 1346 )
{
if ( m_objectID == 1934 )
{
LABEL_392:
sub_14024D5A0(v10, &v206, &a2[1].m_uIndexInArray, v9);
v181 = v206;
p_List = &a4->_List;
if ( v206 != v10->_List._Mypair._Myval2._Myhead )
{
LODWORD(v202) = 392;
if ( *(std::_List_val>>::_Nodeptr *)sub_14024D5A0(a4, v225, &v202, v180) == p_List->_Mypair._Myval2._Myhead )
{
LODWORD(v202) = 392;
*(_DWORD *)sub_140178290((__int64)a4, (__int64)&v202) = a2[1].m_uIndexInArray;
}
a2[1].m_uIndexInArray = *((_DWORD *)v181 + 5);
}
sub_14024D5A0(v10, &v207, &a2[1].m_sAdditionalTransform, v180);
v184 = v207;
v185 = &a4->_List;
if ( v207 != v10->_List._Mypair._Myval2._Myhead )
{
LODWORD(v202) = 455;
if ( *(std::_List_val>>::_Nodeptr *)sub_14024D5A0(a4, v226, &v202, v183) == p_List->_Mypair._Myval2._Myhead )
{
LODWORD(v202) = 455;
*(float *)sub_140178290((__int64)a4, (__int64)&v202) = a2[1].m_sAdditionalTransform.a;
}
v185 = &a4->_List;
a2[1].m_sAdditionalTransform.a = *((float *)v184 + 5);
}
sub_14024D5A0(v10, &v208, &a2[1].m_sAdditionalTransform.c, v183);
v187 = v208;
if ( v208 != v10->_List._Mypair._Myval2._Myhead )
{
LODWORD(v202) = 457;
if ( *(std::_List_val>>::_Nodeptr *)sub_14024D5A0(a4, v227, &v202, v186) == p_List->_Mypair._Myval2._Myhead )
{
LODWORD(v202) = 457;
v185 = &a4->_List;
*(float *)sub_140178290((__int64)a4, (__int64)&v202) = a2[1].m_sAdditionalTransform.c;
}
p_List = v185;
a2[1].m_sAdditionalTransform.c = *((float *)v187 + 5);
}
sub_14024D5A0(v10, &v209, &a2[1].m_obPosition, v186);
v189 = v209;
if ( v209 != v10->_List._Mypair._Myval2._Myhead )
{
LODWORD(v202) = 416;
if ( *(std::_List_val>>::_Nodeptr *)sub_14024D5A0(a4, v228, &v202, v188) == p_List->_Mypair._Myval2._Myhead )
{
LODWORD(v202) = 416;
*(float *)sub_140178290((__int64)a4, (__int64)&v202) = a2[1].m_obPosition.x;
}
a2[1].m_obPosition.x = *((float *)v189 + 5);
}
sub_14024D5A0(v10, &v210, &a2[1].m_sInverse.c, v188);
v191 = v210;
if ( v210 != v10->_List._Mypair._Myval2._Myhead )
{
LODWORD(v202) = 432;
if ( *(std::_List_val>>::_Nodeptr *)sub_14024D5A0(a4, v229, &v202, v190) == p_List->_Mypair._Myval2._Myhead )
{
LODWORD(v202) = 432;
*(float *)sub_140178290((__int64)a4, (__int64)&v202) = a2[1].m_sInverse.c;
}
a2[1].m_sInverse.c = *((float *)v191 + 5);
}
}
else if ( m_objectID == 2068 )
{
LABEL_122:
ChanceTriggerGameObject::remapChanceObjects((ChanceTriggerGameObject *)a2, v10);
}
goto LABEL_412;
}
v61 = v10->_Vec._Mypair._Myval2._Myfirst;
v62 = 0x100000001B3LL
* (HIBYTE(a2->m_rotationTargetID)
^ (0x100000001B3LL
* (BYTE2(a2->m_rotationTargetID)
^ (0x100000001B3LL
* (BYTE1(a2->m_rotationTargetID)
^ (0x100000001B3LL * (LOBYTE(a2->m_rotationTargetID) ^ 0xCBF29CE484222325uLL)))))));
v63 = v61[2 * (v62 & v10->_Mask) + 1]._Ptr;
if ( v63 == v10->_List._Mypair._Myval2._Myhead )
{
LABEL_128:
v63 = nullptr;
}
else
{
v64 = v61[2 * (v62 & v10->_Mask)]._Ptr;
m_rotationTargetID = a2->m_rotationTargetID;
if ( m_rotationTargetID != *((_DWORD *)v63 + 4) )
{
while ( v63 != v64 )
{
v63 = *((std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr *)v63
+ 1);
if ( m_rotationTargetID == *((_DWORD *)v63 + 4) )
goto LABEL_129;
}
goto LABEL_128;
}
}
LABEL_129:
if ( v63 && v63 != v10->_List._Mypair._Myval2._Myhead )
{
LODWORD(v202) = 401;
if ( *(std::_List_val>>::_Nodeptr *)sub_14024D5A0(
a4,
v217,
&v202,
v9) == a4->_List._Mypair._Myval2._Myhead )
{
LODWORD(v202) = 401;
*(_DWORD *)sub_140178290((__int64)a4, (__int64)&v202) = a2->m_rotationTargetID;
}
a2->m_rotationTargetID = *((_DWORD *)v63 + 5);
}
v66 = v10->_Vec._Mypair._Myval2._Myfirst;
v67 = 0x100000001B3LL
* (BYTE3(a2[1].EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable)
^ (0x100000001B3LL
* (BYTE2(a2[1].EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable)
^ (0x100000001B3LL
* (BYTE1(a2[1].EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable)
^ (0x100000001B3LL
* (LOBYTE(a2[1].EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable)
^ 0xCBF29CE484222325uLL)))))));
v68 = v66[2 * (v67 & v10->_Mask) + 1]._Ptr;
if ( v68 == v10->_List._Mypair._Myval2._Myhead )
{
LABEL_139:
v68 = nullptr;
}
else
{
v69 = v66[2 * (v67 & v10->_Mask)]._Ptr;
v70 = (int)a2[1].EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
if ( v70 != *((_DWORD *)v68 + 4) )
{
while ( v68 != v69 )
{
v68 = *((std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr *)v68
+ 1);
if ( v70 == *((_DWORD *)v68 + 4) )
goto LABEL_140;
}
goto LABEL_139;
}
}
LABEL_140:
if ( v68 && v68 != v10->_List._Mypair._Myval2._Myhead )
{
LODWORD(v202) = 516;
if ( *(std::_List_val>>::_Nodeptr *)sub_14024D5A0(
a4,
v218,
&v202,
v9) == a4->_List._Mypair._Myval2._Myhead )
{
LODWORD(v202) = 516;
*(_DWORD *)sub_140178290((__int64)a4, (__int64)&v202) = a2[1].EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
}
LODWORD(a2[1].EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable) = *((_DWORD *)v68 + 5);
}
v71 = v10->_Vec._Mypair._Myval2._Myfirst;
v72 = 0x100000001B3LL
* (HIBYTE(a2[1].EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable)
^ (0x100000001B3LL
* (BYTE6(a2[1].EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable)
^ (0x100000001B3LL
* (BYTE5(a2[1].EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable)
^ (0x100000001B3LL
* (BYTE4(a2[1].EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable)
^ 0xCBF29CE484222325uLL)))))));
v73 = v71[2 * (v72 & v10->_Mask) + 1]._Ptr;
if ( v73 == v10->_List._Mypair._Myval2._Myhead )
{
LABEL_150:
v73 = nullptr;
}
else
{
v74 = v71[2 * (v72 & v10->_Mask)]._Ptr;
v75 = HIDWORD(a2[1].EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable);
if ( v75 != *((_DWORD *)v73 + 4) )
{
while ( v73 != v74 )
{
v73 = *((std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr *)v73
+ 1);
if ( v75 == *((_DWORD *)v73 + 4) )
goto LABEL_151;
}
goto LABEL_150;
}
}
LABEL_151:
if ( v73 && v73 != v10->_List._Mypair._Myval2._Myhead )
{
LODWORD(v202) = 517;
if ( *(std::_List_val>>::_Nodeptr *)sub_14024D5A0(
a4,
v219,
&v202,
v9) == a4->_List._Mypair._Myval2._Myhead )
{
LODWORD(v202) = 517;
*(_DWORD *)sub_140178290((__int64)a4, (__int64)&v202) = HIDWORD(a2[1].EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable);
}
HIDWORD(a2[1].EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable) = *((_DWORD *)v73 + 5);
}
v76 = v10->_Vec._Mypair._Myval2._Myfirst;
v77 = 0x100000001B3LL
* (HIBYTE(a2[1].m_uID)
^ (0x100000001B3LL
* (BYTE2(a2[1].m_uID)
^ (0x100000001B3LL
* (BYTE1(a2[1].m_uID) ^ (0x100000001B3LL * (LOBYTE(a2[1].m_uID) ^ 0xCBF29CE484222325uLL)))))));
v78 = v76[2 * (v77 & v10->_Mask) + 1]._Ptr;
if ( v78 == v10->_List._Mypair._Myval2._Myhead )
{
LABEL_161:
v78 = nullptr;
}
else
{
v79 = v76[2 * (v77 & v10->_Mask)]._Ptr;
v80 = a2[1].m_uID;
if ( v80 != *((_DWORD *)v78 + 4) )
{
while ( v78 != v79 )
{
v78 = *((std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr *)v78
+ 1);
if ( v80 == *((_DWORD *)v78 + 4) )
goto LABEL_162;
}
goto LABEL_161;
}
}
LABEL_162:
if ( v78 && v78 != v10->_List._Mypair._Myval2._Myhead )
{
LODWORD(v202) = 518;
if ( *(std::_List_val>>::_Nodeptr *)sub_14024D5A0(
a4,
v220,
&v202,
v9) == a4->_List._Mypair._Myval2._Myhead )
{
LODWORD(v202) = 518;
*(_DWORD *)sub_140178290((__int64)a4, (__int64)&v202) = a2[1].m_uID;
}
a2[1].m_uID = *((_DWORD *)v78 + 5);
}
v81 = v10->_Vec._Mypair._Myval2._Myfirst;
v82 = 0x100000001B3LL
* (HIBYTE(a2[1].m_nLuaID)
^ (0x100000001B3LL
* (BYTE2(a2[1].m_nLuaID)
^ (0x100000001B3LL
* (BYTE1(a2[1].m_nLuaID) ^ (0x100000001B3LL * (LOBYTE(a2[1].m_nLuaID) ^ 0xCBF29CE484222325uLL)))))));
v83 = v81[2 * (v82 & v10->_Mask) + 1]._Ptr;
if ( v83 == v10->_List._Mypair._Myval2._Myhead )
{
LABEL_172:
v83 = nullptr;
}
else
{
v84 = v81[2 * (v82 & v10->_Mask)]._Ptr;
v85 = a2[1].m_nLuaID;
if ( v85 != *((_DWORD *)v83 + 4) )
{
while ( v83 != v84 )
{
v83 = *((std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr *)v83
+ 1);
if ( v85 == *((_DWORD *)v83 + 4) )
goto LABEL_173;
}
goto LABEL_172;
}
}
LABEL_173:
if ( v83 && v83 != v10->_List._Mypair._Myval2._Myhead )
{
LODWORD(v202) = 519;
if ( *(std::_List_val>>::_Nodeptr *)sub_14024D5A0(
a4,
v221,
&v202,
v9) == a4->_List._Mypair._Myval2._Myhead )
{
LODWORD(v202) = 519;
*(_DWORD *)sub_140178290((__int64)a4, (__int64)&v202) = a2[1].m_nLuaID;
}
a2[1].m_nLuaID = *((_DWORD *)v83 + 5);
}
goto LABEL_412;
}
v86 = v10->_Vec._Mypair._Myval2._Myfirst;
v87 = 0x100000001B3LL
* (HIBYTE(a2->m_targetModCenterID)
^ (0x100000001B3LL
* (BYTE2(a2->m_targetModCenterID)
^ (0x100000001B3LL
* (BYTE1(a2->m_targetModCenterID)
^ (0x100000001B3LL * (LOBYTE(a2->m_targetModCenterID) ^ 0xCBF29CE484222325uLL)))))));
v88 = v86[2 * (v87 & v10->_Mask) + 1]._Ptr;
if ( v88 == v10->_List._Mypair._Myval2._Myhead )
goto LABEL_183;
v89 = v86[2 * (v87 & v10->_Mask)]._Ptr;
m_targetModCenterID = a2->m_targetModCenterID;
if ( m_targetModCenterID != *((_DWORD *)v88 + 4) )
{
while ( v88 != v89 )
{
v88 = *((std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr *)v88
+ 1);
if ( m_targetModCenterID == *((_DWORD *)v88 + 4) )
goto LABEL_184;
}
LABEL_183:
v88 = nullptr;
}
LABEL_184:
if ( v88 && v88 != v10->_List._Mypair._Myval2._Myhead )
{
v91 = a4->_List._Mypair._Myval2._Myhead;
v92 = &a4->_Vec._Mypair._Myval2._Myfirst[2 * (a4->_Mask & 0xF2F501F5C577FC39uLL)];
v93 = v92[1]._Ptr;
if ( v93 == v91 )
goto LABEL_191;
v94 = v92->_Ptr;
if ( *((_DWORD *)v93 + 4) != 395 )
{
while ( v93 != v94 )
{
v93 = *((std::_List_val>>::_Nodeptr *)v93 + 1);
if ( *((_DWORD *)v93 + 4) == 395 )
goto LABEL_192;
}
LABEL_191:
v93 = nullptr;
}
LABEL_192:
if ( !v93 )
v93 = a4->_List._Mypair._Myval2._Myhead;
if ( v93 == v91 )
{
LODWORD(v202) = 395;
*(_DWORD *)sub_140178290((__int64)a4, (__int64)&v202) = a2->m_targetModCenterID;
}
a2->m_targetModCenterID = *((_DWORD *)v88 + 5);
}
LABEL_412:
v9 = 0x6BE0747C289C0282LL;
a3 = v247;
v8 = v203 + 1;
v7 = a1;
v203 = v8;
if ( v8 >= v216 )
return;
}
while ( Ptr != v14 )
{
Ptr = *((std::_List_unchecked_const_iterator>>, std::_Iterator_base0>::_Nodeptr *)Ptr
+ 1);
if ( m_targetGroupID == *((_DWORD *)Ptr + 4) )
goto LABEL_9;
}
LABEL_8:
Ptr = nullptr;
goto LABEL_9;
}
}