//
// GameManager::verifyCoinUnlocks from 0x5f50ac to 0x5f9b54 (19112 bytes)
//
// 2 xrefs:
// > GameManager::dataLoaded @ 0x5fb104
// > ??> @ 0x67698
//
// 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 GameManager::verifyCoinUnlocks(GameManager *a1)
{
int v1; // w19
int v2; // w24
GameStatsManager *v3; // x0
GameLevelManager *v4; // x0
GJGameLevel *MainLevel; // x20
GameStatsManager *v6; // x0
GameStatsManager *v7; // x21
const char *CoinKey; // x0
GameStatsManager *v9; // x21
const char *v10; // x0
GameStatsManager *v11; // x21
const char *v12; // x0
int i; // w19
GameLevelManager *v14; // x0
GJGameLevel *v15; // x20
GameStatsManager *v16; // x0
GameStatsManager *v17; // x0
GameStatsManager *v18; // x0
GameStatsManager *v19; // x0
const std::string *v20; // x1
const std::string *v21; // x1
const std::string *v22; // x1
const std::string *v23; // x1
const std::string *v24; // x1
const std::string *v25; // x1
const std::string *v26; // x1
const std::string *v27; // x1
const std::string *v28; // x1
const std::string *v29; // x1
const std::string *v30; // x1
const std::string *v31; // x1
const std::string *v32; // x1
const std::string *v33; // x1
const std::string *v34; // x1
const std::string *v35; // x1
const std::string *v36; // x1
const std::string *v37; // x1
const std::string *v38; // x1
const std::string *v39; // x1
const std::string *v40; // x1
const std::string *v41; // x1
const std::string *v42; // x1
const std::string *v43; // x1
const std::string *v44; // x1
const std::string *v45; // x1
const std::string *v46; // x1
const std::string *v47; // x1
const std::string *v48; // x1
const std::string *v49; // x1
const std::string *v50; // x1
const std::string *v51; // x1
const std::string *v52; // x1
const std::string *v53; // x1
const std::string *v54; // x1
const std::string *v55; // x1
const std::string *v56; // x1
const std::string *v57; // x1
const std::string *v58; // x1
const std::string *v59; // x1
const std::string *v60; // x1
const std::string *v61; // x1
const std::string *v62; // x1
const std::string *v63; // x1
const std::string *v64; // x1
const std::string *v65; // x1
const std::string *v66; // x1
const std::string *v67; // x1
const std::string *v68; // x1
const std::string *v69; // x1
const std::string *v70; // x1
const std::string *v71; // x1
const std::string *v72; // x1
const std::string *v73; // x1
const std::string *v74; // x1
const std::string *v75; // x1
const std::string *v76; // x1
const std::string *v77; // x1
const std::string *v78; // x1
const std::string *v79; // x1
const std::string *v80; // x1
const std::string *v81; // x1
const std::string *v82; // x1
const std::string *v83; // x1
const std::string *v84; // x1
const std::string *v85; // x1
const std::string *v86; // x1
const std::string *v87; // x1
const std::string *v88; // x1
const std::string *v89; // x1
const std::string *v90; // x1
const std::string *v91; // x1
const std::string *v92; // x1
const std::string *v93; // x1
const std::string *v94; // x1
const std::string *v95; // x1
const std::string *v96; // x1
const std::string *v97; // x1
const std::string *v98; // x1
const std::string *v99; // x1
const std::string *v100; // x1
const std::string *v101; // x1
const std::string *v102; // x1
const std::string *v103; // x1
const std::string *v104; // x1
const std::string *v105; // x1
const std::string *v106; // x1
const std::string *v107; // x1
const std::string *v108; // x1
const std::string *v109; // x1
const std::string *v110; // x1
const std::string *v111; // x1
const std::string *v112; // x1
const std::string *v113; // x1
const std::string *v114; // x1
const std::string *v115; // x1
const std::string *v116; // x1
const std::string *v117; // x1
const std::string *v118; // x1
const std::string *v119; // x1
const std::string *v120; // x1
const std::string *v121; // x1
const std::string *v122; // x1
const std::string *v123; // x1
const std::string *v124; // x1
const std::string *v125; // x1
const std::string *v126; // x1
const std::string *v127; // x1
cocos2d::CCArray *v128; // x19
void *v129; // x0
void *v130; // x0
void *v131; // x0
void *v132; // x0
char *v133; // x0
void *v134; // x0
void *v135; // x0
void *v136; // x0
void *v137; // x0
void *v138; // x0
void *v139; // x0
bool (__fastcall **p_canEncode)(cocos2d::CCObject *__hidden); // x0
char *v141; // x0
void *v142; // x0
void *v143; // x0
void *v144; // x0
void *v145; // x0
void *v146; // x0
void *v147; // x0
bool (__fastcall **v148)(cocos2d::CCObject *__hidden); // x0
char *v149; // x0
void *v150; // x0
void *v151; // x0
void *v152; // x0
void *v153; // x0
void *v154; // x0
void *v155; // x0
bool (__fastcall **v156)(cocos2d::CCObject *__hidden); // x0
char *v157; // x0
void *v158; // x0
void *v159; // x0
void *v160; // x0
void *v161; // x0
void *v162; // x0
void *v163; // x0
bool (__fastcall **v164)(cocos2d::CCObject *__hidden); // x0
char *v165; // x0
void *v166; // x0
void *v167; // x0
void *v168; // x0
void *v169; // x0
void *v170; // x0
void *v171; // x0
bool (__fastcall **v172)(cocos2d::CCObject *__hidden); // x0
char *v173; // x0
void *v174; // x0
void *v175; // x0
void *v176; // x0
void *v177; // x0
void *v178; // x0
void *v179; // x0
bool (__fastcall **v180)(cocos2d::CCObject *__hidden); // x0
char *v181; // x0
void *v182; // x0
void *v183; // x0
void *v184; // x0
void *v185; // x0
void *v186; // x0
void *v187; // x0
char *v188; // x0
void *v189; // x0
void *v190; // x0
void *v191; // x0
void *v192; // x0
void *v193; // x0
void *v194; // x0
bool (__fastcall **v195)(cocos2d::CCObject *__hidden); // x0
char *v196; // x0
void *v197; // x0
void *v198; // x0
void *v199; // x0
void *v200; // x0
void *v201; // x0
void *v202; // x0
bool (__fastcall **v203)(cocos2d::CCObject *__hidden); // x0
char *v204; // x0
void *v205; // x0
void *v206; // x0
void *v207; // x0
void *v208; // x0
void *v209; // x0
void *v210; // x0
bool (__fastcall **v211)(cocos2d::CCObject *__hidden); // x0
char *v212; // x0
void *v213; // x0
void *v214; // x0
void *v215; // x0
void *v216; // x0
void *v217; // x0
void *v218; // x0
cocos2d::CCString_vtbl *v219; // x1
bool (__fastcall **v220)(cocos2d::CCObject *__hidden); // x0
char *v221; // x0
void *v222; // x0
void *v223; // x0
void *v224; // x0
void *v225; // x0
void *v226; // x0
void *v227; // x0
bool (__fastcall **v228)(cocos2d::CCObject *__hidden); // x0
char *v229; // x0
void *v230; // x0
void *v231; // x0
void *v232; // x0
void *v233; // x0
void *v234; // x0
void *v235; // x0
bool (__fastcall **v236)(cocos2d::CCObject *__hidden); // x0
unsigned int v237; // w20
int v238; // w22
cocos2d::CCString *v239; // x0
int v240; // w23
unsigned int v241; // w1
cocos2d::CCString *v242; // x0
int v243; // w21
GameStatsManager *v244; // x0
int v245; // w21
GameStatsManager *v246; // x0
GameStatsManager *v247; // x22
const char *v248; // x0
GameStatsManager *v249; // x22
const char *v250; // x0
GameStatsManager *v251; // x22
const char *v252; // x0
unsigned int *v253; // x1
int v254; // w2
unsigned int *v255; // x1
int v256; // w2
unsigned int *v257; // x1
int v258; // w2
unsigned int *v259; // x1
int v260; // w2
unsigned int *v261; // x1
int v262; // w2
unsigned int *v263; // x1
int v264; // w2
unsigned int *v265; // x1
int v266; // w2
unsigned int *v267; // x1
int v268; // w2
unsigned int *v269; // x1
int v270; // w2
unsigned int *v271; // x1
int v272; // w2
unsigned int *v273; // x1
int v274; // w2
unsigned int *v275; // x1
int v276; // w2
unsigned int *p_setTag; // x1
int setTag; // w2
unsigned int *v279; // x1
int v280; // w2
unsigned int *v281; // x1
int v282; // w2
unsigned int *v283; // x1
int v284; // w2
unsigned int *v285; // x1
int v286; // w2
unsigned int *v287; // x1
int v288; // w2
unsigned int *v289; // x1
int v290; // w2
unsigned int *v291; // x1
int v292; // w2
unsigned int *v293; // x1
int v294; // w2
unsigned int *v295; // x1
int v296; // w2
unsigned int *v297; // x1
int v298; // w2
unsigned int *v299; // x1
int v300; // w2
unsigned int *v301; // x1
int v302; // w2
unsigned int *v303; // x1
int v304; // w2
unsigned int *v305; // x1
int v306; // w2
unsigned int *v307; // x1
int v308; // w2
unsigned int *v309; // x1
int v310; // w2
unsigned int *v311; // x1
int v312; // w2
unsigned int *v313; // x1
int v314; // w2
unsigned int *v315; // x1
int v316; // w2
unsigned int *v317; // x1
int v318; // w2
unsigned int *v319; // x1
int v320; // w2
unsigned int *v321; // x1
int v322; // w2
unsigned int *v323; // x1
int v324; // w2
unsigned int *v325; // x1
int v326; // w2
unsigned int *v327; // x1
int v328; // w2
unsigned int *v329; // x1
int v330; // w2
unsigned int *v331; // x1
int v332; // w2
unsigned int *v333; // x1
int v334; // w2
unsigned int *v335; // x1
int v336; // w2
unsigned int *v337; // x1
int v338; // w2
unsigned int *v339; // x1
int v340; // w2
unsigned int *v341; // x1
int v342; // w2
unsigned int *v343; // x1
int v344; // w2
unsigned int *v345; // x1
int v346; // w2
unsigned int *v347; // x1
int v348; // w2
unsigned int *v349; // x1
int v350; // w2
unsigned int *v351; // x1
int v352; // w2
unsigned int *v353; // x1
int v354; // w2
unsigned int *v355; // x1
int v356; // w2
unsigned int *v357; // x1
int v358; // w2
unsigned int *v359; // x1
int v360; // w2
unsigned int *v361; // x1
int v362; // w2
unsigned int *v363; // x1
int v364; // w2
unsigned int *v365; // x1
int v366; // w2
unsigned int *v367; // x1
int v368; // w2
unsigned int *v369; // x1
int v370; // w2
unsigned int *v371; // x1
int v372; // w2
unsigned int *v373; // x1
int v374; // w2
unsigned int *v375; // x1
int v376; // w2
unsigned int *v377; // x1
int v378; // w2
unsigned int *v379; // x1
int v380; // w2
unsigned int *v381; // x1
int v382; // w2
unsigned int *v383; // x1
int v384; // w2
unsigned int *v385; // x1
int v386; // w2
unsigned int *v387; // x1
int v388; // w2
unsigned int *v389; // x1
int v390; // w2
unsigned int *v391; // x1
int v392; // w2
unsigned int *v393; // x1
int v394; // w2
unsigned int *v395; // x1
int v396; // w2
unsigned int *v397; // x1
int v398; // w2
unsigned int *v399; // x1
int v400; // w2
unsigned int *v401; // x1
int v402; // w2
unsigned int *v403; // x1
int v404; // w2
__int64 v406; // [xsp+4F0h] [xbp+1C0h]
__int64 v407; // [xsp+4F8h] [xbp+1C8h]
__int64 v408; // [xsp+500h] [xbp+1D0h]
__int64 v409; // [xsp+508h] [xbp+1D8h]
__int64 v410; // [xsp+510h] [xbp+1E0h]
__int64 v411; // [xsp+518h] [xbp+1E8h]
__int64 v412; // [xsp+520h] [xbp+1F0h]
__int64 v413; // [xsp+528h] [xbp+1F8h]
__int64 v414; // [xsp+530h] [xbp+200h]
__int64 v415; // [xsp+538h] [xbp+208h]
__int64 v416; // [xsp+540h] [xbp+210h]
__int64 v417; // [xsp+548h] [xbp+218h]
__int64 v418; // [xsp+550h] [xbp+220h]
__int64 v419; // [xsp+558h] [xbp+228h]
__int64 v420; // [xsp+560h] [xbp+230h]
__int64 v421; // [xsp+568h] [xbp+238h]
__int64 v422; // [xsp+570h] [xbp+240h]
__int64 v423; // [xsp+578h] [xbp+248h]
__int64 v424; // [xsp+580h] [xbp+250h]
__int64 v425; // [xsp+588h] [xbp+258h]
__int64 v426; // [xsp+590h] [xbp+260h]
__int64 v427; // [xsp+598h] [xbp+268h]
__int64 v428; // [xsp+5A0h] [xbp+270h]
__int64 v429; // [xsp+5A8h] [xbp+278h]
__int64 v430; // [xsp+5B0h] [xbp+280h]
__int64 v431; // [xsp+5B8h] [xbp+288h]
__int64 v432; // [xsp+5C0h] [xbp+290h]
__int64 v433; // [xsp+5C8h] [xbp+298h]
__int64 v434; // [xsp+5D0h] [xbp+2A0h]
__int64 v435; // [xsp+5D8h] [xbp+2A8h]
__int64 v436; // [xsp+5E0h] [xbp+2B0h]
__int64 v437; // [xsp+5E8h] [xbp+2B8h]
__int64 v438; // [xsp+5F0h] [xbp+2C0h]
__int64 v439; // [xsp+5F8h] [xbp+2C8h]
__int64 v440; // [xsp+600h] [xbp+2D0h]
__int64 v441; // [xsp+608h] [xbp+2D8h]
__int64 v442; // [xsp+610h] [xbp+2E0h]
__int64 v443; // [xsp+618h] [xbp+2E8h]
__int64 v444; // [xsp+620h] [xbp+2F0h]
__int64 v445; // [xsp+628h] [xbp+2F8h]
__int64 v446; // [xsp+630h] [xbp+300h]
__int64 v447; // [xsp+638h] [xbp+308h]
__int64 v448; // [xsp+640h] [xbp+310h]
__int64 v449; // [xsp+648h] [xbp+318h]
__int64 v450; // [xsp+650h] [xbp+320h]
__int64 v451; // [xsp+658h] [xbp+328h]
__int64 v452; // [xsp+660h] [xbp+330h]
__int64 v453; // [xsp+668h] [xbp+338h]
__int64 v454; // [xsp+670h] [xbp+340h]
__int64 v455; // [xsp+678h] [xbp+348h]
__int64 v456; // [xsp+680h] [xbp+350h]
__int64 v457; // [xsp+688h] [xbp+358h]
__int64 v458; // [xsp+690h] [xbp+360h]
__int64 v459; // [xsp+698h] [xbp+368h]
__int64 v460; // [xsp+6A0h] [xbp+370h]
__int64 v461; // [xsp+6A8h] [xbp+378h]
__int64 v462; // [xsp+6B0h] [xbp+380h]
__int64 v463; // [xsp+6B8h] [xbp+388h]
__int64 v464; // [xsp+6C0h] [xbp+390h]
__int64 v465; // [xsp+6C8h] [xbp+398h]
__int64 v466; // [xsp+6D0h] [xbp+3A0h]
cocos2d::CCObject *v467; // [xsp+6D8h] [xbp+3A8h]
cocos2d::CCArray *v468; // [xsp+6E0h] [xbp+3B0h]
int Stat; // [xsp+6ECh] [xbp+3BCh]
cocos2d::CCString v470; // [xsp+C98h] [xbp+968h] BYREF
cocos2d::CCString v471; // [xsp+CD8h] [xbp+9A8h] BYREF
cocos2d::CCString v472; // [xsp+D18h] [xbp+9E8h] BYREF
cocos2d::CCString v473; // [xsp+D58h] [xbp+A28h] BYREF
cocos2d::CCString v474; // [xsp+D98h] [xbp+A68h] BYREF
cocos2d::CCString v475; // [xsp+DD8h] [xbp+AA8h] BYREF
cocos2d::CCString v476; // [xsp+E18h] [xbp+AE8h] BYREF
cocos2d::CCString v477; // [xsp+E58h] [xbp+B28h] BYREF
cocos2d::CCString v478; // [xsp+E98h] [xbp+B68h] BYREF
cocos2d::CCString v479; // [xsp+ED8h] [xbp+BA8h] BYREF
cocos2d::CCString v480; // [xsp+F18h] [xbp+BE8h] BYREF
cocos2d::CCString v481; // [xsp+F58h] [xbp+C28h] BYREF
cocos2d::CCString v482; // [xsp+F98h] [xbp+C68h] BYREF
__int64 v483; // [xsp+FD8h] [xbp+CA8h] BYREF
__int64 v484; // [xsp+FE0h] [xbp+CB0h] BYREF
__int64 v485; // [xsp+FE8h] [xbp+CB8h] BYREF
__int64 v486; // [xsp+FF0h] [xbp+CC0h] BYREF
v1 = 1;
v2 = 0;
v3 = GameStatsManager::sharedState();
Stat = GameStatsManager::getStat(v3, "8");
do
{
while ( 1 )
{
v4 = GameLevelManager::sharedState();
MainLevel = GameLevelManager::getMainLevel(v4, v1, 0);
v6 = GameStatsManager::sharedState();
if ( GameStatsManager::hasCompletedLevel(v6, MainLevel) )
break;
if ( ++v1 == 23 )
goto LABEL_11;
}
v7 = GameStatsManager::sharedState();
++v1;
CoinKey = GJGameLevel::getCoinKey(MainLevel, 1);
if ( GameStatsManager::hasSecretCoin(v7, CoinKey) )
++v2;
v9 = GameStatsManager::sharedState();
v10 = GJGameLevel::getCoinKey(MainLevel, 2);
if ( GameStatsManager::hasSecretCoin(v9, v10) )
++v2;
v11 = GameStatsManager::sharedState();
v12 = GJGameLevel::getCoinKey(MainLevel, 3);
if ( GameStatsManager::hasSecretCoin(v11, v12) )
++v2;
}
while ( v1 != 23 );
LABEL_11:
for ( i = 5001; i != 5005; ++i )
{
v14 = GameLevelManager::sharedState();
v15 = GameLevelManager::getMainLevel(v14, i, 0);
v16 = GameStatsManager::sharedState();
if ( GameStatsManager::hasCompletedLevel(v16, v15) )
{
v247 = GameStatsManager::sharedState();
v248 = GJGameLevel::getCoinKey(v15, 1);
if ( GameStatsManager::hasSecretCoin(v247, v248) )
++v2;
v249 = GameStatsManager::sharedState();
v250 = GJGameLevel::getCoinKey(v15, 2);
if ( GameStatsManager::hasSecretCoin(v249, v250) )
++v2;
v251 = GameStatsManager::sharedState();
v252 = GJGameLevel::getCoinKey(v15, 3);
if ( GameStatsManager::hasSecretCoin(v251, v252) )
++v2;
}
}
v17 = GameStatsManager::sharedState();
if ( GameStatsManager::hasSecretCoin(v17, "secret04") )
++v2;
v18 = GameStatsManager::sharedState();
if ( GameStatsManager::hasSecretCoin(v18, "secret06") )
++v2;
v19 = GameStatsManager::sharedState();
if ( GameStatsManager::hasSecretCoin(v19, "secretB03") )
++v2;
sub_D153B8((int)&v470, "1");
v468 = (cocos2d::CCArray *)cocos2d::CCString::create(&v470, v20);
sub_D153B8((int)&v470.m_uID, "1");
v467 = (cocos2d::CCObject *)cocos2d::CCString::create((cocos2d::CCString *)&v470.m_uID, v21);
sub_D153B8((int)&v470.m_nTag, &byte_F78BA8);
v466 = cocos2d::CCString::create((cocos2d::CCString *)&v470.m_nTag, v22);
sub_D153B8((int)&v470.m_uAutoReleaseCount, "1");
v465 = cocos2d::CCString::create((cocos2d::CCString *)&v470.m_uAutoReleaseCount, v23);
sub_D153B8((int)&v470.m_uIndexInArray, "3");
v464 = cocos2d::CCString::create((cocos2d::CCString *)&v470.m_uIndexInArray, v24);
sub_D153B8((int)&v470.m_unknown2, "1");
v463 = cocos2d::CCString::create((cocos2d::CCString *)&v470.m_unknown2, v25);
sub_D153B8((int)&v470.m_uOrderOfArrival, "5");
v462 = cocos2d::CCString::create((cocos2d::CCString *)&v470.m_uOrderOfArrival, v26);
sub_D153B8((int)&v470.m_sString, "1");
v461 = cocos2d::CCString::create((cocos2d::CCString *)&v470.m_sString, v27);
sub_D153B8((int)&v471, "6");
v460 = cocos2d::CCString::create(&v471, v28);
sub_D153B8((int)&v471.m_uID, "1");
v459 = cocos2d::CCString::create((cocos2d::CCString *)&v471.m_uID, v29);
sub_D153B8((int)&v471.m_nTag, "7");
v458 = cocos2d::CCString::create((cocos2d::CCString *)&v471.m_nTag, v30);
sub_D153B8((int)&v471.m_uAutoReleaseCount, "1");
v457 = cocos2d::CCString::create((cocos2d::CCString *)&v471.m_uAutoReleaseCount, v31);
sub_D153B8((int)&v471.m_uIndexInArray, "8");
v456 = cocos2d::CCString::create((cocos2d::CCString *)&v471.m_uIndexInArray, v32);
sub_D153B8((int)&v471.m_unknown2, "1");
v455 = cocos2d::CCString::create((cocos2d::CCString *)&v471.m_unknown2, v33);
sub_D153B8((int)&v471.m_uOrderOfArrival, "9");
v454 = cocos2d::CCString::create((cocos2d::CCString *)&v471.m_uOrderOfArrival, v34);
sub_D153B8((int)&v471.m_sString, "1");
v453 = cocos2d::CCString::create((cocos2d::CCString *)&v471.m_sString, v35);
sub_D153B8((int)&v472, "10");
v452 = cocos2d::CCString::create(&v472, v36);
sub_D153B8((int)&v472.m_uID, "1");
v451 = cocos2d::CCString::create((cocos2d::CCString *)&v472.m_uID, v37);
sub_D153B8((int)&v472.m_nTag, "11");
v450 = cocos2d::CCString::create((cocos2d::CCString *)&v472.m_nTag, v38);
sub_D153B8((int)&v472.m_uAutoReleaseCount, "1");
v449 = cocos2d::CCString::create((cocos2d::CCString *)&v472.m_uAutoReleaseCount, v39);
sub_D153B8((int)&v472.m_uIndexInArray, "19");
v448 = cocos2d::CCString::create((cocos2d::CCString *)&v472.m_uIndexInArray, v40);
sub_D153B8((int)&v472.m_unknown2, &byte_F78BA8);
v447 = cocos2d::CCString::create((cocos2d::CCString *)&v472.m_unknown2, v41);
sub_D153B8((int)&v472.m_uOrderOfArrival, "20");
v446 = cocos2d::CCString::create((cocos2d::CCString *)&v472.m_uOrderOfArrival, v42);
sub_D153B8((int)&v472.m_sString, &byte_F78BA8);
v445 = cocos2d::CCString::create((cocos2d::CCString *)&v472.m_sString, v43);
sub_D153B8((int)&v473, "21");
v444 = cocos2d::CCString::create(&v473, v44);
sub_D153B8((int)&v473.m_uID, &byte_F78BA8);
v443 = cocos2d::CCString::create((cocos2d::CCString *)&v473.m_uID, v45);
sub_D153B8((int)&v473.m_nTag, "22");
v442 = cocos2d::CCString::create((cocos2d::CCString *)&v473.m_nTag, v46);
sub_D153B8((int)&v473.m_uAutoReleaseCount, &byte_F78BA8);
v441 = cocos2d::CCString::create((cocos2d::CCString *)&v473.m_uAutoReleaseCount, v47);
sub_D153B8((int)&v473.m_uIndexInArray, "26");
v440 = cocos2d::CCString::create((cocos2d::CCString *)&v473.m_uIndexInArray, v48);
sub_D153B8((int)&v473.m_unknown2, &byte_F78BA8);
v439 = cocos2d::CCString::create((cocos2d::CCString *)&v473.m_unknown2, v49);
sub_D153B8((int)&v473.m_uOrderOfArrival, "27");
v438 = cocos2d::CCString::create((cocos2d::CCString *)&v473.m_uOrderOfArrival, v50);
sub_D153B8((int)&v473.m_sString, &byte_F78BA8);
v437 = cocos2d::CCString::create((cocos2d::CCString *)&v473.m_sString, v51);
sub_D153B8((int)&v474, "28");
v436 = cocos2d::CCString::create(&v474, v52);
sub_D153B8((int)&v474.m_uID, &byte_F78BA8);
v435 = cocos2d::CCString::create((cocos2d::CCString *)&v474.m_uID, v53);
sub_D153B8((int)&v474.m_nTag, "29");
v434 = cocos2d::CCString::create((cocos2d::CCString *)&v474.m_nTag, v54);
sub_D153B8((int)&v474.m_uAutoReleaseCount, &byte_F78BA8);
v433 = cocos2d::CCString::create((cocos2d::CCString *)&v474.m_uAutoReleaseCount, v55);
sub_D153B8((int)&v474.m_uIndexInArray, "30");
v432 = cocos2d::CCString::create((cocos2d::CCString *)&v474.m_uIndexInArray, v56);
sub_D153B8((int)&v474.m_unknown2, &byte_F78BA8);
v431 = cocos2d::CCString::create((cocos2d::CCString *)&v474.m_unknown2, v57);
sub_D153B8((int)&v474.m_uOrderOfArrival, "31");
v430 = cocos2d::CCString::create((cocos2d::CCString *)&v474.m_uOrderOfArrival, v58);
sub_D153B8((int)&v474.m_sString, &byte_F78BA8);
v429 = cocos2d::CCString::create((cocos2d::CCString *)&v474.m_sString, v59);
sub_D153B8((int)&v475, "32");
v428 = cocos2d::CCString::create(&v475, v60);
sub_D153B8((int)&v475.m_uID, "1");
v427 = cocos2d::CCString::create((cocos2d::CCString *)&v475.m_uID, v61);
sub_D153B8((int)&v475.m_nTag, "33");
v426 = cocos2d::CCString::create((cocos2d::CCString *)&v475.m_nTag, v62);
sub_D153B8((int)&v475.m_uAutoReleaseCount, "1");
v425 = cocos2d::CCString::create((cocos2d::CCString *)&v475.m_uAutoReleaseCount, v63);
sub_D153B8((int)&v475.m_uIndexInArray, "34");
v424 = cocos2d::CCString::create((cocos2d::CCString *)&v475.m_uIndexInArray, v64);
sub_D153B8((int)&v475.m_unknown2, "1");
v423 = cocos2d::CCString::create((cocos2d::CCString *)&v475.m_unknown2, v65);
sub_D153B8((int)&v475.m_uOrderOfArrival, "35");
v422 = cocos2d::CCString::create((cocos2d::CCString *)&v475.m_uOrderOfArrival, v66);
sub_D153B8((int)&v475.m_sString, "1");
v421 = cocos2d::CCString::create((cocos2d::CCString *)&v475.m_sString, v67);
sub_D153B8((int)&v476, "36");
v420 = cocos2d::CCString::create(&v476, v68);
sub_D153B8((int)&v476.m_uID, "1");
v419 = cocos2d::CCString::create((cocos2d::CCString *)&v476.m_uID, v69);
sub_D153B8((int)&v476.m_nTag, "37");
v418 = cocos2d::CCString::create((cocos2d::CCString *)&v476.m_nTag, v70);
sub_D153B8((int)&v476.m_uAutoReleaseCount, "1");
v417 = cocos2d::CCString::create((cocos2d::CCString *)&v476.m_uAutoReleaseCount, v71);
sub_D153B8((int)&v476.m_uIndexInArray, "38");
v416 = cocos2d::CCString::create((cocos2d::CCString *)&v476.m_uIndexInArray, v72);
sub_D153B8((int)&v476.m_unknown2, "1");
v415 = cocos2d::CCString::create((cocos2d::CCString *)&v476.m_unknown2, v73);
sub_D153B8((int)&v476.m_uOrderOfArrival, "39");
v414 = cocos2d::CCString::create((cocos2d::CCString *)&v476.m_uOrderOfArrival, v74);
sub_D153B8((int)&v476.m_sString, "1");
v413 = cocos2d::CCString::create((cocos2d::CCString *)&v476.m_sString, v75);
sub_D153B8((int)&v477, "40");
v412 = cocos2d::CCString::create(&v477, v76);
sub_D153B8((int)&v477.m_uID, "1");
v411 = cocos2d::CCString::create((cocos2d::CCString *)&v477.m_uID, v77);
sub_D153B8((int)&v477.m_nTag, "41");
v410 = cocos2d::CCString::create((cocos2d::CCString *)&v477.m_nTag, v78);
sub_D153B8((int)&v477.m_uAutoReleaseCount, "1");
v409 = cocos2d::CCString::create((cocos2d::CCString *)&v477.m_uAutoReleaseCount, v79);
sub_D153B8((int)&v477.m_uIndexInArray, "42");
v408 = cocos2d::CCString::create((cocos2d::CCString *)&v477.m_uIndexInArray, v80);
sub_D153B8((int)&v477.m_unknown2, "1");
v407 = cocos2d::CCString::create((cocos2d::CCString *)&v477.m_unknown2, v81);
sub_D153B8((int)&v477.m_uOrderOfArrival, "43");
v406 = cocos2d::CCString::create((cocos2d::CCString *)&v477.m_uOrderOfArrival, v82);
sub_D153B8((int)&v477.m_sString, "1");
cocos2d::CCString::create((cocos2d::CCString *)&v477.m_sString, v83);
sub_D153B8((int)&v478, "44");
cocos2d::CCString::create(&v478, v84);
sub_D153B8((int)&v478.m_uID, "1");
cocos2d::CCString::create((cocos2d::CCString *)&v478.m_uID, v85);
sub_D153B8((int)&v478.m_nTag, "45");
cocos2d::CCString::create((cocos2d::CCString *)&v478.m_nTag, v86);
sub_D153B8((int)&v478.m_uAutoReleaseCount, "1");
cocos2d::CCString::create((cocos2d::CCString *)&v478.m_uAutoReleaseCount, v87);
sub_D153B8((int)&v478.m_uIndexInArray, "46");
cocos2d::CCString::create((cocos2d::CCString *)&v478.m_uIndexInArray, v88);
sub_D153B8((int)&v478.m_unknown2, &byte_F78BA8);
cocos2d::CCString::create((cocos2d::CCString *)&v478.m_unknown2, v89);
sub_D153B8((int)&v478.m_uOrderOfArrival, "47");
cocos2d::CCString::create((cocos2d::CCString *)&v478.m_uOrderOfArrival, v90);
sub_D153B8((int)&v478.m_sString, &byte_F78BA8);
cocos2d::CCString::create((cocos2d::CCString *)&v478.m_sString, v91);
sub_D153B8((int)&v479, "48");
cocos2d::CCString::create(&v479, v92);
sub_D153B8((int)&v479.m_uID, &byte_F78BA8);
cocos2d::CCString::create((cocos2d::CCString *)&v479.m_uID, v93);
sub_D153B8((int)&v479.m_nTag, "49");
cocos2d::CCString::create((cocos2d::CCString *)&v479.m_nTag, v94);
sub_D153B8((int)&v479.m_uAutoReleaseCount, &byte_F78BA8);
cocos2d::CCString::create((cocos2d::CCString *)&v479.m_uAutoReleaseCount, v95);
sub_D153B8((int)&v479.m_uIndexInArray, "50");
cocos2d::CCString::create((cocos2d::CCString *)&v479.m_uIndexInArray, v96);
sub_D153B8((int)&v479.m_unknown2, &byte_F78BA8);
cocos2d::CCString::create((cocos2d::CCString *)&v479.m_unknown2, v97);
sub_D153B8((int)&v479.m_uOrderOfArrival, "52");
cocos2d::CCString::create((cocos2d::CCString *)&v479.m_uOrderOfArrival, v98);
sub_D153B8((int)&v479.m_sString, "1");
cocos2d::CCString::create((cocos2d::CCString *)&v479.m_sString, v99);
sub_D153B8((int)&v480, "53");
cocos2d::CCString::create(&v480, v100);
sub_D153B8((int)&v480.m_uID, "1");
cocos2d::CCString::create((cocos2d::CCString *)&v480.m_uID, v101);
sub_D153B8((int)&v480.m_nTag, "54");
cocos2d::CCString::create((cocos2d::CCString *)&v480.m_nTag, v102);
sub_D153B8((int)&v480.m_uAutoReleaseCount, "1");
cocos2d::CCString::create((cocos2d::CCString *)&v480.m_uAutoReleaseCount, v103);
sub_D153B8((int)&v480.m_uIndexInArray, "55");
cocos2d::CCString::create((cocos2d::CCString *)&v480.m_uIndexInArray, v104);
sub_D153B8((int)&v480.m_unknown2, "1");
cocos2d::CCString::create((cocos2d::CCString *)&v480.m_unknown2, v105);
sub_D153B8((int)&v480.m_uOrderOfArrival, "56");
cocos2d::CCString::create((cocos2d::CCString *)&v480.m_uOrderOfArrival, v106);
sub_D153B8((int)&v480.m_sString, "1");
cocos2d::CCString::create((cocos2d::CCString *)&v480.m_sString, v107);
sub_D153B8((int)&v481, "57");
cocos2d::CCString::create(&v481, v108);
sub_D153B8((int)&v481.m_uID, "1");
cocos2d::CCString::create((cocos2d::CCString *)&v481.m_uID, v109);
sub_D153B8((int)&v481.m_nTag, "58");
cocos2d::CCString::create((cocos2d::CCString *)&v481.m_nTag, v110);
sub_D153B8((int)&v481.m_uAutoReleaseCount, "1");
cocos2d::CCString::create((cocos2d::CCString *)&v481.m_uAutoReleaseCount, v111);
sub_D153B8((int)&v481.m_uIndexInArray, "59");
cocos2d::CCString::create((cocos2d::CCString *)&v481.m_uIndexInArray, v112);
sub_D153B8((int)&v481.m_unknown2, "1");
cocos2d::CCString::create((cocos2d::CCString *)&v481.m_unknown2, v113);
sub_D153B8((int)&v481.m_uOrderOfArrival, "60");
cocos2d::CCString::create((cocos2d::CCString *)&v481.m_uOrderOfArrival, v114);
sub_D153B8((int)&v481.m_sString, "1");
cocos2d::CCString::create((cocos2d::CCString *)&v481.m_sString, v115);
sub_D153B8((int)&v482, "61");
cocos2d::CCString::create(&v482, v116);
sub_D153B8((int)&v482.m_uID, "1");
cocos2d::CCString::create((cocos2d::CCString *)&v482.m_uID, v117);
sub_D153B8((int)&v482.m_nTag, "62");
cocos2d::CCString::create((cocos2d::CCString *)&v482.m_nTag, v118);
sub_D153B8((int)&v482.m_uAutoReleaseCount, "1");
cocos2d::CCString::create((cocos2d::CCString *)&v482.m_uAutoReleaseCount, v119);
sub_D153B8((int)&v482.m_uIndexInArray, "63");
cocos2d::CCString::create((cocos2d::CCString *)&v482.m_uIndexInArray, v120);
sub_D153B8((int)&v482.m_unknown2, "1");
cocos2d::CCString::create((cocos2d::CCString *)&v482.m_unknown2, v121);
sub_D153B8((int)&v482.m_uOrderOfArrival, "64");
cocos2d::CCString::create((cocos2d::CCString *)&v482.m_uOrderOfArrival, v122);
sub_D153B8((int)&v482.m_sString, &byte_F78BA8);
cocos2d::CCString::create((cocos2d::CCString *)&v482.m_sString, v123);
sub_D153B8((int)&v483, "65");
cocos2d::CCString::create((cocos2d::CCString *)&v483, v124);
sub_D153B8((int)&v484, &byte_F78BA8);
cocos2d::CCString::create((cocos2d::CCString *)&v484, v125);
sub_D153B8((int)&v485, "66");
cocos2d::CCString::create((cocos2d::CCString *)&v485, v126);
sub_D153B8((int)&v486, &byte_F78BA8);
cocos2d::CCString::create((cocos2d::CCString *)&v486, v127);
v128 = (cocos2d::CCArray *)cocos2d::CCArray::create(
v468,
v467,
v466,
v465,
v464,
v463,
v462,
v461,
v460,
v459,
v458,
v457,
v456,
v455,
v454,
v453,
v452,
v451,
v450,
v449,
v448,
v447,
v446,
v445,
v444,
v443,
v442,
v441,
v440,
v439,
v438,
v437,
v436,
v435,
v434,
v433,
v432,
v431,
v430,
v429,
v428,
v427,
v426,
v425,
v424,
v423,
v422,
v421,
v420,
v419,
v418,
v417,
v416,
v415,
v414,
v413,
v412,
v411,
v410,
v409,
v408,
v407,
v406);
v129 = (void *)(v486 - 24);
if ( (__int64 *)(v486 - 24) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v255 = (unsigned int *)(v486 - 8);
do
v256 = __ldaxr(v255);
while ( __stlxr(v256 - 1, v255) );
}
else
{
v256 = *(_DWORD *)(v486 - 8);
*(_DWORD *)(v486 - 8) = v256 - 1;
}
if ( v256 <= 0 )
operator delete(v129);
}
v130 = (void *)(v485 - 24);
if ( (__int64 *)(v485 - 24) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v257 = (unsigned int *)(v485 - 8);
do
v258 = __ldaxr(v257);
while ( __stlxr(v258 - 1, v257) );
}
else
{
v258 = *(_DWORD *)(v485 - 8);
*(_DWORD *)(v485 - 8) = v258 - 1;
}
if ( v258 <= 0 )
operator delete(v130);
}
v131 = (void *)(v484 - 24);
if ( (__int64 *)(v484 - 24) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v259 = (unsigned int *)(v484 - 8);
do
v260 = __ldaxr(v259);
while ( __stlxr(v260 - 1, v259) );
}
else
{
v260 = *(_DWORD *)(v484 - 8);
*(_DWORD *)(v484 - 8) = v260 - 1;
}
if ( v260 <= 0 )
operator delete(v131);
}
v132 = (void *)(v483 - 24);
if ( (__int64 *)(v483 - 24) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v261 = (unsigned int *)(v483 - 8);
do
v262 = __ldaxr(v261);
while ( __stlxr(v262 - 1, v261) );
}
else
{
v262 = *(_DWORD *)(v483 - 8);
*(_DWORD *)(v483 - 8) = v262 - 1;
}
if ( v262 <= 0 )
operator delete(v132);
}
v133 = (char *)v482.m_sString.m_data.m_data - 24;
if ( (__int64 *)v482.m_sString.m_data.m_data - 3 != &qword_124B6B0 )
{
if ( &pthread_create )
{
v263 = (unsigned int *)((char *)v482.m_sString.m_data.m_data - 8);
do
v264 = __ldaxr(v263);
while ( __stlxr(v264 - 1, v263) );
}
else
{
v264 = *((_DWORD *)v482.m_sString.m_data.m_data - 2);
*((_DWORD *)v482.m_sString.m_data.m_data - 2) = v264 - 1;
}
if ( v264 <= 0 )
operator delete(v133);
}
v134 = (void *)(*(_QWORD *)&v482.m_uOrderOfArrival - 24LL);
if ( (__int64 *)(*(_QWORD *)&v482.m_uOrderOfArrival - 24LL) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v265 = (unsigned int *)(*(_QWORD *)&v482.m_uOrderOfArrival - 8LL);
do
v266 = __ldaxr(v265);
while ( __stlxr(v266 - 1, v265) );
}
else
{
v266 = *(_DWORD *)(*(_QWORD *)&v482.m_uOrderOfArrival - 8LL);
*(_DWORD *)(*(_QWORD *)&v482.m_uOrderOfArrival - 8LL) = v266 - 1;
}
if ( v266 <= 0 )
operator delete(v134);
}
v135 = (void *)(*(_QWORD *)&v482.m_unknown2 - 24LL);
if ( (__int64 *)(*(_QWORD *)&v482.m_unknown2 - 24LL) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v267 = (unsigned int *)(*(_QWORD *)&v482.m_unknown2 - 8LL);
do
v268 = __ldaxr(v267);
while ( __stlxr(v268 - 1, v267) );
}
else
{
v268 = *(_DWORD *)(*(_QWORD *)&v482.m_unknown2 - 8LL);
*(_DWORD *)(*(_QWORD *)&v482.m_unknown2 - 8LL) = v268 - 1;
}
if ( v268 <= 0 )
operator delete(v135);
}
v136 = (void *)(*(_QWORD *)&v482.m_uIndexInArray - 24LL);
if ( (__int64 *)(*(_QWORD *)&v482.m_uIndexInArray - 24LL) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v269 = (unsigned int *)(*(_QWORD *)&v482.m_uIndexInArray - 8LL);
do
v270 = __ldaxr(v269);
while ( __stlxr(v270 - 1, v269) );
}
else
{
v270 = *(_DWORD *)(*(_QWORD *)&v482.m_uIndexInArray - 8LL);
*(_DWORD *)(*(_QWORD *)&v482.m_uIndexInArray - 8LL) = v270 - 1;
}
if ( v270 <= 0 )
operator delete(v136);
}
v137 = (void *)(*(_QWORD *)&v482.m_uAutoReleaseCount - 24LL);
if ( (__int64 *)(*(_QWORD *)&v482.m_uAutoReleaseCount - 24LL) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v271 = (unsigned int *)(*(_QWORD *)&v482.m_uAutoReleaseCount - 8LL);
do
v272 = __ldaxr(v271);
while ( __stlxr(v272 - 1, v271) );
}
else
{
v272 = *(_DWORD *)(*(_QWORD *)&v482.m_uAutoReleaseCount - 8LL);
*(_DWORD *)(*(_QWORD *)&v482.m_uAutoReleaseCount - 8LL) = v272 - 1;
}
if ( v272 <= 0 )
operator delete(v137);
}
v138 = (void *)(*(_QWORD *)&v482.m_nTag - 24LL);
if ( (__int64 *)(*(_QWORD *)&v482.m_nTag - 24LL) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v273 = (unsigned int *)(*(_QWORD *)&v482.m_nTag - 8LL);
do
v274 = __ldaxr(v273);
while ( __stlxr(v274 - 1, v273) );
}
else
{
v274 = *(_DWORD *)(*(_QWORD *)&v482.m_nTag - 8LL);
*(_DWORD *)(*(_QWORD *)&v482.m_nTag - 8LL) = v274 - 1;
}
if ( v274 <= 0 )
operator delete(v138);
}
v139 = (void *)(*(_QWORD *)&v482.m_uID - 24LL);
if ( (__int64 *)(*(_QWORD *)&v482.m_uID - 24LL) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v275 = (unsigned int *)(*(_QWORD *)&v482.m_uID - 8LL);
do
v276 = __ldaxr(v275);
while ( __stlxr(v276 - 1, v275) );
}
else
{
v276 = *(_DWORD *)(*(_QWORD *)&v482.m_uID - 8LL);
*(_DWORD *)(*(_QWORD *)&v482.m_uID - 8LL) = v276 - 1;
}
if ( v276 <= 0 )
operator delete(v139);
}
p_canEncode = &v482.__vftable[-1].canEncode;
if ( (__int64 *)&v482.__vftable[-1].canEncode != &qword_124B6B0 )
{
if ( &pthread_create )
{
p_setTag = (unsigned int *)&v482.__vftable[-1].setTag;
do
setTag = __ldaxr(p_setTag);
while ( __stlxr(setTag - 1, p_setTag) );
}
else
{
setTag = (int)v482.__vftable[-1].setTag;
LODWORD(v482.__vftable[-1].setTag) = setTag - 1;
}
if ( setTag <= 0 )
operator delete(p_canEncode);
}
v141 = (char *)v481.m_sString.m_data.m_data - 24;
if ( (__int64 *)v481.m_sString.m_data.m_data - 3 != &qword_124B6B0 )
{
if ( &pthread_create )
{
v279 = (unsigned int *)((char *)v481.m_sString.m_data.m_data - 8);
do
v280 = __ldaxr(v279);
while ( __stlxr(v280 - 1, v279) );
}
else
{
v280 = *((_DWORD *)v481.m_sString.m_data.m_data - 2);
*((_DWORD *)v481.m_sString.m_data.m_data - 2) = v280 - 1;
}
if ( v280 <= 0 )
operator delete(v141);
}
v142 = (void *)(*(_QWORD *)&v481.m_uOrderOfArrival - 24LL);
if ( (__int64 *)(*(_QWORD *)&v481.m_uOrderOfArrival - 24LL) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v281 = (unsigned int *)(*(_QWORD *)&v481.m_uOrderOfArrival - 8LL);
do
v282 = __ldaxr(v281);
while ( __stlxr(v282 - 1, v281) );
}
else
{
v282 = *(_DWORD *)(*(_QWORD *)&v481.m_uOrderOfArrival - 8LL);
*(_DWORD *)(*(_QWORD *)&v481.m_uOrderOfArrival - 8LL) = v282 - 1;
}
if ( v282 <= 0 )
operator delete(v142);
}
v143 = (void *)(*(_QWORD *)&v481.m_unknown2 - 24LL);
if ( (__int64 *)(*(_QWORD *)&v481.m_unknown2 - 24LL) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v283 = (unsigned int *)(*(_QWORD *)&v481.m_unknown2 - 8LL);
do
v284 = __ldaxr(v283);
while ( __stlxr(v284 - 1, v283) );
}
else
{
v284 = *(_DWORD *)(*(_QWORD *)&v481.m_unknown2 - 8LL);
*(_DWORD *)(*(_QWORD *)&v481.m_unknown2 - 8LL) = v284 - 1;
}
if ( v284 <= 0 )
operator delete(v143);
}
v144 = (void *)(*(_QWORD *)&v481.m_uIndexInArray - 24LL);
if ( (__int64 *)(*(_QWORD *)&v481.m_uIndexInArray - 24LL) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v285 = (unsigned int *)(*(_QWORD *)&v481.m_uIndexInArray - 8LL);
do
v286 = __ldaxr(v285);
while ( __stlxr(v286 - 1, v285) );
}
else
{
v286 = *(_DWORD *)(*(_QWORD *)&v481.m_uIndexInArray - 8LL);
*(_DWORD *)(*(_QWORD *)&v481.m_uIndexInArray - 8LL) = v286 - 1;
}
if ( v286 <= 0 )
operator delete(v144);
}
v145 = (void *)(*(_QWORD *)&v481.m_uAutoReleaseCount - 24LL);
if ( (__int64 *)(*(_QWORD *)&v481.m_uAutoReleaseCount - 24LL) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v287 = (unsigned int *)(*(_QWORD *)&v481.m_uAutoReleaseCount - 8LL);
do
v288 = __ldaxr(v287);
while ( __stlxr(v288 - 1, v287) );
}
else
{
v288 = *(_DWORD *)(*(_QWORD *)&v481.m_uAutoReleaseCount - 8LL);
*(_DWORD *)(*(_QWORD *)&v481.m_uAutoReleaseCount - 8LL) = v288 - 1;
}
if ( v288 <= 0 )
operator delete(v145);
}
v146 = (void *)(*(_QWORD *)&v481.m_nTag - 24LL);
if ( (__int64 *)(*(_QWORD *)&v481.m_nTag - 24LL) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v289 = (unsigned int *)(*(_QWORD *)&v481.m_nTag - 8LL);
do
v290 = __ldaxr(v289);
while ( __stlxr(v290 - 1, v289) );
}
else
{
v290 = *(_DWORD *)(*(_QWORD *)&v481.m_nTag - 8LL);
*(_DWORD *)(*(_QWORD *)&v481.m_nTag - 8LL) = v290 - 1;
}
if ( v290 <= 0 )
operator delete(v146);
}
v147 = (void *)(*(_QWORD *)&v481.m_uID - 24LL);
if ( (__int64 *)(*(_QWORD *)&v481.m_uID - 24LL) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v291 = (unsigned int *)(*(_QWORD *)&v481.m_uID - 8LL);
do
v292 = __ldaxr(v291);
while ( __stlxr(v292 - 1, v291) );
}
else
{
v292 = *(_DWORD *)(*(_QWORD *)&v481.m_uID - 8LL);
*(_DWORD *)(*(_QWORD *)&v481.m_uID - 8LL) = v292 - 1;
}
if ( v292 <= 0 )
operator delete(v147);
}
v148 = &v481.__vftable[-1].canEncode;
if ( (__int64 *)&v481.__vftable[-1].canEncode != &qword_124B6B0 )
{
if ( &pthread_create )
{
v293 = (unsigned int *)&v481.__vftable[-1].setTag;
do
v294 = __ldaxr(v293);
while ( __stlxr(v294 - 1, v293) );
}
else
{
v294 = (int)v481.__vftable[-1].setTag;
LODWORD(v481.__vftable[-1].setTag) = v294 - 1;
}
if ( v294 <= 0 )
operator delete(v148);
}
v149 = (char *)v480.m_sString.m_data.m_data - 24;
if ( (__int64 *)v480.m_sString.m_data.m_data - 3 != &qword_124B6B0 )
{
if ( &pthread_create )
{
v295 = (unsigned int *)((char *)v480.m_sString.m_data.m_data - 8);
do
v296 = __ldaxr(v295);
while ( __stlxr(v296 - 1, v295) );
}
else
{
v296 = *((_DWORD *)v480.m_sString.m_data.m_data - 2);
*((_DWORD *)v480.m_sString.m_data.m_data - 2) = v296 - 1;
}
if ( v296 <= 0 )
operator delete(v149);
}
v150 = (void *)(*(_QWORD *)&v480.m_uOrderOfArrival - 24LL);
if ( (__int64 *)(*(_QWORD *)&v480.m_uOrderOfArrival - 24LL) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v297 = (unsigned int *)(*(_QWORD *)&v480.m_uOrderOfArrival - 8LL);
do
v298 = __ldaxr(v297);
while ( __stlxr(v298 - 1, v297) );
}
else
{
v298 = *(_DWORD *)(*(_QWORD *)&v480.m_uOrderOfArrival - 8LL);
*(_DWORD *)(*(_QWORD *)&v480.m_uOrderOfArrival - 8LL) = v298 - 1;
}
if ( v298 <= 0 )
operator delete(v150);
}
v151 = (void *)(*(_QWORD *)&v480.m_unknown2 - 24LL);
if ( (__int64 *)(*(_QWORD *)&v480.m_unknown2 - 24LL) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v299 = (unsigned int *)(*(_QWORD *)&v480.m_unknown2 - 8LL);
do
v300 = __ldaxr(v299);
while ( __stlxr(v300 - 1, v299) );
}
else
{
v300 = *(_DWORD *)(*(_QWORD *)&v480.m_unknown2 - 8LL);
*(_DWORD *)(*(_QWORD *)&v480.m_unknown2 - 8LL) = v300 - 1;
}
if ( v300 <= 0 )
operator delete(v151);
}
v152 = (void *)(*(_QWORD *)&v480.m_uIndexInArray - 24LL);
if ( (__int64 *)(*(_QWORD *)&v480.m_uIndexInArray - 24LL) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v301 = (unsigned int *)(*(_QWORD *)&v480.m_uIndexInArray - 8LL);
do
v302 = __ldaxr(v301);
while ( __stlxr(v302 - 1, v301) );
}
else
{
v302 = *(_DWORD *)(*(_QWORD *)&v480.m_uIndexInArray - 8LL);
*(_DWORD *)(*(_QWORD *)&v480.m_uIndexInArray - 8LL) = v302 - 1;
}
if ( v302 <= 0 )
operator delete(v152);
}
v153 = (void *)(*(_QWORD *)&v480.m_uAutoReleaseCount - 24LL);
if ( (__int64 *)(*(_QWORD *)&v480.m_uAutoReleaseCount - 24LL) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v303 = (unsigned int *)(*(_QWORD *)&v480.m_uAutoReleaseCount - 8LL);
do
v304 = __ldaxr(v303);
while ( __stlxr(v304 - 1, v303) );
}
else
{
v304 = *(_DWORD *)(*(_QWORD *)&v480.m_uAutoReleaseCount - 8LL);
*(_DWORD *)(*(_QWORD *)&v480.m_uAutoReleaseCount - 8LL) = v304 - 1;
}
if ( v304 <= 0 )
operator delete(v153);
}
v154 = (void *)(*(_QWORD *)&v480.m_nTag - 24LL);
if ( (__int64 *)(*(_QWORD *)&v480.m_nTag - 24LL) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v305 = (unsigned int *)(*(_QWORD *)&v480.m_nTag - 8LL);
do
v306 = __ldaxr(v305);
while ( __stlxr(v306 - 1, v305) );
}
else
{
v306 = *(_DWORD *)(*(_QWORD *)&v480.m_nTag - 8LL);
*(_DWORD *)(*(_QWORD *)&v480.m_nTag - 8LL) = v306 - 1;
}
if ( v306 <= 0 )
operator delete(v154);
}
v155 = (void *)(*(_QWORD *)&v480.m_uID - 24LL);
if ( (__int64 *)(*(_QWORD *)&v480.m_uID - 24LL) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v307 = (unsigned int *)(*(_QWORD *)&v480.m_uID - 8LL);
do
v308 = __ldaxr(v307);
while ( __stlxr(v308 - 1, v307) );
}
else
{
v308 = *(_DWORD *)(*(_QWORD *)&v480.m_uID - 8LL);
*(_DWORD *)(*(_QWORD *)&v480.m_uID - 8LL) = v308 - 1;
}
if ( v308 <= 0 )
operator delete(v155);
}
v156 = &v480.__vftable[-1].canEncode;
if ( (__int64 *)&v480.__vftable[-1].canEncode != &qword_124B6B0 )
{
if ( &pthread_create )
{
v309 = (unsigned int *)&v480.__vftable[-1].setTag;
do
v310 = __ldaxr(v309);
while ( __stlxr(v310 - 1, v309) );
}
else
{
v310 = (int)v480.__vftable[-1].setTag;
LODWORD(v480.__vftable[-1].setTag) = v310 - 1;
}
if ( v310 <= 0 )
operator delete(v156);
}
v157 = (char *)v479.m_sString.m_data.m_data - 24;
if ( (__int64 *)v479.m_sString.m_data.m_data - 3 != &qword_124B6B0 )
{
if ( &pthread_create )
{
v311 = (unsigned int *)((char *)v479.m_sString.m_data.m_data - 8);
do
v312 = __ldaxr(v311);
while ( __stlxr(v312 - 1, v311) );
}
else
{
v312 = *((_DWORD *)v479.m_sString.m_data.m_data - 2);
*((_DWORD *)v479.m_sString.m_data.m_data - 2) = v312 - 1;
}
if ( v312 <= 0 )
operator delete(v157);
}
v158 = (void *)(*(_QWORD *)&v479.m_uOrderOfArrival - 24LL);
if ( (__int64 *)(*(_QWORD *)&v479.m_uOrderOfArrival - 24LL) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v313 = (unsigned int *)(*(_QWORD *)&v479.m_uOrderOfArrival - 8LL);
do
v314 = __ldaxr(v313);
while ( __stlxr(v314 - 1, v313) );
}
else
{
v314 = *(_DWORD *)(*(_QWORD *)&v479.m_uOrderOfArrival - 8LL);
*(_DWORD *)(*(_QWORD *)&v479.m_uOrderOfArrival - 8LL) = v314 - 1;
}
if ( v314 <= 0 )
operator delete(v158);
}
v159 = (void *)(*(_QWORD *)&v479.m_unknown2 - 24LL);
if ( (__int64 *)(*(_QWORD *)&v479.m_unknown2 - 24LL) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v315 = (unsigned int *)(*(_QWORD *)&v479.m_unknown2 - 8LL);
do
v316 = __ldaxr(v315);
while ( __stlxr(v316 - 1, v315) );
}
else
{
v316 = *(_DWORD *)(*(_QWORD *)&v479.m_unknown2 - 8LL);
*(_DWORD *)(*(_QWORD *)&v479.m_unknown2 - 8LL) = v316 - 1;
}
if ( v316 <= 0 )
operator delete(v159);
}
v160 = (void *)(*(_QWORD *)&v479.m_uIndexInArray - 24LL);
if ( (__int64 *)(*(_QWORD *)&v479.m_uIndexInArray - 24LL) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v317 = (unsigned int *)(*(_QWORD *)&v479.m_uIndexInArray - 8LL);
do
v318 = __ldaxr(v317);
while ( __stlxr(v318 - 1, v317) );
}
else
{
v318 = *(_DWORD *)(*(_QWORD *)&v479.m_uIndexInArray - 8LL);
*(_DWORD *)(*(_QWORD *)&v479.m_uIndexInArray - 8LL) = v318 - 1;
}
if ( v318 <= 0 )
operator delete(v160);
}
v161 = (void *)(*(_QWORD *)&v479.m_uAutoReleaseCount - 24LL);
if ( (__int64 *)(*(_QWORD *)&v479.m_uAutoReleaseCount - 24LL) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v319 = (unsigned int *)(*(_QWORD *)&v479.m_uAutoReleaseCount - 8LL);
do
v320 = __ldaxr(v319);
while ( __stlxr(v320 - 1, v319) );
}
else
{
v320 = *(_DWORD *)(*(_QWORD *)&v479.m_uAutoReleaseCount - 8LL);
*(_DWORD *)(*(_QWORD *)&v479.m_uAutoReleaseCount - 8LL) = v320 - 1;
}
if ( v320 <= 0 )
operator delete(v161);
}
v162 = (void *)(*(_QWORD *)&v479.m_nTag - 24LL);
if ( (__int64 *)(*(_QWORD *)&v479.m_nTag - 24LL) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v321 = (unsigned int *)(*(_QWORD *)&v479.m_nTag - 8LL);
do
v322 = __ldaxr(v321);
while ( __stlxr(v322 - 1, v321) );
}
else
{
v322 = *(_DWORD *)(*(_QWORD *)&v479.m_nTag - 8LL);
*(_DWORD *)(*(_QWORD *)&v479.m_nTag - 8LL) = v322 - 1;
}
if ( v322 <= 0 )
operator delete(v162);
}
v163 = (void *)(*(_QWORD *)&v479.m_uID - 24LL);
if ( (__int64 *)(*(_QWORD *)&v479.m_uID - 24LL) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v323 = (unsigned int *)(*(_QWORD *)&v479.m_uID - 8LL);
do
v324 = __ldaxr(v323);
while ( __stlxr(v324 - 1, v323) );
}
else
{
v324 = *(_DWORD *)(*(_QWORD *)&v479.m_uID - 8LL);
*(_DWORD *)(*(_QWORD *)&v479.m_uID - 8LL) = v324 - 1;
}
if ( v324 <= 0 )
operator delete(v163);
}
v164 = &v479.__vftable[-1].canEncode;
if ( (__int64 *)&v479.__vftable[-1].canEncode != &qword_124B6B0 )
{
if ( &pthread_create )
{
v325 = (unsigned int *)&v479.__vftable[-1].setTag;
do
v326 = __ldaxr(v325);
while ( __stlxr(v326 - 1, v325) );
}
else
{
v326 = (int)v479.__vftable[-1].setTag;
LODWORD(v479.__vftable[-1].setTag) = v326 - 1;
}
if ( v326 <= 0 )
operator delete(v164);
}
v165 = (char *)v478.m_sString.m_data.m_data - 24;
if ( (__int64 *)v478.m_sString.m_data.m_data - 3 != &qword_124B6B0 )
{
if ( &pthread_create )
{
v327 = (unsigned int *)((char *)v478.m_sString.m_data.m_data - 8);
do
v328 = __ldaxr(v327);
while ( __stlxr(v328 - 1, v327) );
}
else
{
v328 = *((_DWORD *)v478.m_sString.m_data.m_data - 2);
*((_DWORD *)v478.m_sString.m_data.m_data - 2) = v328 - 1;
}
if ( v328 <= 0 )
operator delete(v165);
}
v166 = (void *)(*(_QWORD *)&v478.m_uOrderOfArrival - 24LL);
if ( (__int64 *)(*(_QWORD *)&v478.m_uOrderOfArrival - 24LL) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v329 = (unsigned int *)(*(_QWORD *)&v478.m_uOrderOfArrival - 8LL);
do
v330 = __ldaxr(v329);
while ( __stlxr(v330 - 1, v329) );
}
else
{
v330 = *(_DWORD *)(*(_QWORD *)&v478.m_uOrderOfArrival - 8LL);
*(_DWORD *)(*(_QWORD *)&v478.m_uOrderOfArrival - 8LL) = v330 - 1;
}
if ( v330 <= 0 )
operator delete(v166);
}
v167 = (void *)(*(_QWORD *)&v478.m_unknown2 - 24LL);
if ( (__int64 *)(*(_QWORD *)&v478.m_unknown2 - 24LL) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v331 = (unsigned int *)(*(_QWORD *)&v478.m_unknown2 - 8LL);
do
v332 = __ldaxr(v331);
while ( __stlxr(v332 - 1, v331) );
}
else
{
v332 = *(_DWORD *)(*(_QWORD *)&v478.m_unknown2 - 8LL);
*(_DWORD *)(*(_QWORD *)&v478.m_unknown2 - 8LL) = v332 - 1;
}
if ( v332 <= 0 )
operator delete(v167);
}
v168 = (void *)(*(_QWORD *)&v478.m_uIndexInArray - 24LL);
if ( (__int64 *)(*(_QWORD *)&v478.m_uIndexInArray - 24LL) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v333 = (unsigned int *)(*(_QWORD *)&v478.m_uIndexInArray - 8LL);
do
v334 = __ldaxr(v333);
while ( __stlxr(v334 - 1, v333) );
}
else
{
v334 = *(_DWORD *)(*(_QWORD *)&v478.m_uIndexInArray - 8LL);
*(_DWORD *)(*(_QWORD *)&v478.m_uIndexInArray - 8LL) = v334 - 1;
}
if ( v334 <= 0 )
operator delete(v168);
}
v169 = (void *)(*(_QWORD *)&v478.m_uAutoReleaseCount - 24LL);
if ( (__int64 *)(*(_QWORD *)&v478.m_uAutoReleaseCount - 24LL) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v335 = (unsigned int *)(*(_QWORD *)&v478.m_uAutoReleaseCount - 8LL);
do
v336 = __ldaxr(v335);
while ( __stlxr(v336 - 1, v335) );
}
else
{
v336 = *(_DWORD *)(*(_QWORD *)&v478.m_uAutoReleaseCount - 8LL);
*(_DWORD *)(*(_QWORD *)&v478.m_uAutoReleaseCount - 8LL) = v336 - 1;
}
if ( v336 <= 0 )
operator delete(v169);
}
v170 = (void *)(*(_QWORD *)&v478.m_nTag - 24LL);
if ( (__int64 *)(*(_QWORD *)&v478.m_nTag - 24LL) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v337 = (unsigned int *)(*(_QWORD *)&v478.m_nTag - 8LL);
do
v338 = __ldaxr(v337);
while ( __stlxr(v338 - 1, v337) );
}
else
{
v338 = *(_DWORD *)(*(_QWORD *)&v478.m_nTag - 8LL);
*(_DWORD *)(*(_QWORD *)&v478.m_nTag - 8LL) = v338 - 1;
}
if ( v338 <= 0 )
operator delete(v170);
}
v171 = (void *)(*(_QWORD *)&v478.m_uID - 24LL);
if ( (__int64 *)(*(_QWORD *)&v478.m_uID - 24LL) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v339 = (unsigned int *)(*(_QWORD *)&v478.m_uID - 8LL);
do
v340 = __ldaxr(v339);
while ( __stlxr(v340 - 1, v339) );
}
else
{
v340 = *(_DWORD *)(*(_QWORD *)&v478.m_uID - 8LL);
*(_DWORD *)(*(_QWORD *)&v478.m_uID - 8LL) = v340 - 1;
}
if ( v340 <= 0 )
operator delete(v171);
}
v172 = &v478.__vftable[-1].canEncode;
if ( (__int64 *)&v478.__vftable[-1].canEncode != &qword_124B6B0 )
{
if ( &pthread_create )
{
v341 = (unsigned int *)&v478.__vftable[-1].setTag;
do
v342 = __ldaxr(v341);
while ( __stlxr(v342 - 1, v341) );
}
else
{
v342 = (int)v478.__vftable[-1].setTag;
LODWORD(v478.__vftable[-1].setTag) = v342 - 1;
}
if ( v342 <= 0 )
operator delete(v172);
}
v173 = (char *)v477.m_sString.m_data.m_data - 24;
if ( (__int64 *)v477.m_sString.m_data.m_data - 3 != &qword_124B6B0 )
{
if ( &pthread_create )
{
v343 = (unsigned int *)((char *)v477.m_sString.m_data.m_data - 8);
do
v344 = __ldaxr(v343);
while ( __stlxr(v344 - 1, v343) );
}
else
{
v344 = *((_DWORD *)v477.m_sString.m_data.m_data - 2);
*((_DWORD *)v477.m_sString.m_data.m_data - 2) = v344 - 1;
}
if ( v344 <= 0 )
operator delete(v173);
}
v174 = (void *)(*(_QWORD *)&v477.m_uOrderOfArrival - 24LL);
if ( (__int64 *)(*(_QWORD *)&v477.m_uOrderOfArrival - 24LL) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v345 = (unsigned int *)(*(_QWORD *)&v477.m_uOrderOfArrival - 8LL);
do
v346 = __ldaxr(v345);
while ( __stlxr(v346 - 1, v345) );
}
else
{
v346 = *(_DWORD *)(*(_QWORD *)&v477.m_uOrderOfArrival - 8LL);
*(_DWORD *)(*(_QWORD *)&v477.m_uOrderOfArrival - 8LL) = v346 - 1;
}
if ( v346 <= 0 )
operator delete(v174);
}
v175 = (void *)(*(_QWORD *)&v477.m_unknown2 - 24LL);
if ( (__int64 *)(*(_QWORD *)&v477.m_unknown2 - 24LL) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v347 = (unsigned int *)(*(_QWORD *)&v477.m_unknown2 - 8LL);
do
v348 = __ldaxr(v347);
while ( __stlxr(v348 - 1, v347) );
}
else
{
v348 = *(_DWORD *)(*(_QWORD *)&v477.m_unknown2 - 8LL);
*(_DWORD *)(*(_QWORD *)&v477.m_unknown2 - 8LL) = v348 - 1;
}
if ( v348 <= 0 )
operator delete(v175);
}
v176 = (void *)(*(_QWORD *)&v477.m_uIndexInArray - 24LL);
if ( (__int64 *)(*(_QWORD *)&v477.m_uIndexInArray - 24LL) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v349 = (unsigned int *)(*(_QWORD *)&v477.m_uIndexInArray - 8LL);
do
v350 = __ldaxr(v349);
while ( __stlxr(v350 - 1, v349) );
}
else
{
v350 = *(_DWORD *)(*(_QWORD *)&v477.m_uIndexInArray - 8LL);
*(_DWORD *)(*(_QWORD *)&v477.m_uIndexInArray - 8LL) = v350 - 1;
}
if ( v350 <= 0 )
operator delete(v176);
}
v177 = (void *)(*(_QWORD *)&v477.m_uAutoReleaseCount - 24LL);
if ( (__int64 *)(*(_QWORD *)&v477.m_uAutoReleaseCount - 24LL) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v351 = (unsigned int *)(*(_QWORD *)&v477.m_uAutoReleaseCount - 8LL);
do
v352 = __ldaxr(v351);
while ( __stlxr(v352 - 1, v351) );
}
else
{
v352 = *(_DWORD *)(*(_QWORD *)&v477.m_uAutoReleaseCount - 8LL);
*(_DWORD *)(*(_QWORD *)&v477.m_uAutoReleaseCount - 8LL) = v352 - 1;
}
if ( v352 <= 0 )
operator delete(v177);
}
v178 = (void *)(*(_QWORD *)&v477.m_nTag - 24LL);
if ( (__int64 *)(*(_QWORD *)&v477.m_nTag - 24LL) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v353 = (unsigned int *)(*(_QWORD *)&v477.m_nTag - 8LL);
do
v354 = __ldaxr(v353);
while ( __stlxr(v354 - 1, v353) );
}
else
{
v354 = *(_DWORD *)(*(_QWORD *)&v477.m_nTag - 8LL);
*(_DWORD *)(*(_QWORD *)&v477.m_nTag - 8LL) = v354 - 1;
}
if ( v354 <= 0 )
operator delete(v178);
}
v179 = (void *)(*(_QWORD *)&v477.m_uID - 24LL);
if ( (__int64 *)(*(_QWORD *)&v477.m_uID - 24LL) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v355 = (unsigned int *)(*(_QWORD *)&v477.m_uID - 8LL);
do
v356 = __ldaxr(v355);
while ( __stlxr(v356 - 1, v355) );
}
else
{
v356 = *(_DWORD *)(*(_QWORD *)&v477.m_uID - 8LL);
*(_DWORD *)(*(_QWORD *)&v477.m_uID - 8LL) = v356 - 1;
}
if ( v356 <= 0 )
operator delete(v179);
}
v180 = &v477.__vftable[-1].canEncode;
if ( (__int64 *)&v477.__vftable[-1].canEncode != &qword_124B6B0 )
{
if ( &pthread_create )
{
v357 = (unsigned int *)&v477.__vftable[-1].setTag;
do
v358 = __ldaxr(v357);
while ( __stlxr(v358 - 1, v357) );
}
else
{
v358 = (int)v477.__vftable[-1].setTag;
LODWORD(v477.__vftable[-1].setTag) = v358 - 1;
}
if ( v358 <= 0 )
operator delete(v180);
}
v181 = (char *)v476.m_sString.m_data.m_data - 24;
if ( (__int64 *)v476.m_sString.m_data.m_data - 3 != &qword_124B6B0 )
{
if ( &pthread_create )
{
v359 = (unsigned int *)((char *)v476.m_sString.m_data.m_data - 8);
do
v360 = __ldaxr(v359);
while ( __stlxr(v360 - 1, v359) );
}
else
{
v360 = *((_DWORD *)v476.m_sString.m_data.m_data - 2);
*((_DWORD *)v476.m_sString.m_data.m_data - 2) = v360 - 1;
}
if ( v360 <= 0 )
operator delete(v181);
}
v182 = (void *)(*(_QWORD *)&v476.m_uOrderOfArrival - 24LL);
if ( (__int64 *)(*(_QWORD *)&v476.m_uOrderOfArrival - 24LL) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v361 = (unsigned int *)(*(_QWORD *)&v476.m_uOrderOfArrival - 8LL);
do
v362 = __ldaxr(v361);
while ( __stlxr(v362 - 1, v361) );
}
else
{
v362 = *(_DWORD *)(*(_QWORD *)&v476.m_uOrderOfArrival - 8LL);
*(_DWORD *)(*(_QWORD *)&v476.m_uOrderOfArrival - 8LL) = v362 - 1;
}
if ( v362 <= 0 )
operator delete(v182);
}
v183 = (void *)(*(_QWORD *)&v476.m_unknown2 - 24LL);
if ( (__int64 *)(*(_QWORD *)&v476.m_unknown2 - 24LL) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v363 = (unsigned int *)(*(_QWORD *)&v476.m_unknown2 - 8LL);
do
v364 = __ldaxr(v363);
while ( __stlxr(v364 - 1, v363) );
}
else
{
v364 = *(_DWORD *)(*(_QWORD *)&v476.m_unknown2 - 8LL);
*(_DWORD *)(*(_QWORD *)&v476.m_unknown2 - 8LL) = v364 - 1;
}
if ( v364 <= 0 )
operator delete(v183);
}
v184 = (void *)(*(_QWORD *)&v476.m_uIndexInArray - 24LL);
if ( (__int64 *)(*(_QWORD *)&v476.m_uIndexInArray - 24LL) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v365 = (unsigned int *)(*(_QWORD *)&v476.m_uIndexInArray - 8LL);
do
v366 = __ldaxr(v365);
while ( __stlxr(v366 - 1, v365) );
}
else
{
v366 = *(_DWORD *)(*(_QWORD *)&v476.m_uIndexInArray - 8LL);
*(_DWORD *)(*(_QWORD *)&v476.m_uIndexInArray - 8LL) = v366 - 1;
}
if ( v366 <= 0 )
operator delete(v184);
}
v185 = (void *)(*(_QWORD *)&v476.m_uAutoReleaseCount - 24LL);
if ( (__int64 *)(*(_QWORD *)&v476.m_uAutoReleaseCount - 24LL) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v367 = (unsigned int *)(*(_QWORD *)&v476.m_uAutoReleaseCount - 8LL);
do
v368 = __ldaxr(v367);
while ( __stlxr(v368 - 1, v367) );
}
else
{
v368 = *(_DWORD *)(*(_QWORD *)&v476.m_uAutoReleaseCount - 8LL);
*(_DWORD *)(*(_QWORD *)&v476.m_uAutoReleaseCount - 8LL) = v368 - 1;
}
if ( v368 <= 0 )
operator delete(v185);
}
v186 = (void *)(*(_QWORD *)&v476.m_nTag - 24LL);
if ( (__int64 *)(*(_QWORD *)&v476.m_nTag - 24LL) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v369 = (unsigned int *)(*(_QWORD *)&v476.m_nTag - 8LL);
do
v370 = __ldaxr(v369);
while ( __stlxr(v370 - 1, v369) );
}
else
{
v370 = *(_DWORD *)(*(_QWORD *)&v476.m_nTag - 8LL);
*(_DWORD *)(*(_QWORD *)&v476.m_nTag - 8LL) = v370 - 1;
}
if ( v370 <= 0 )
operator delete(v186);
}
v187 = (void *)(*(_QWORD *)&v476.m_uID - 24LL);
if ( (__int64 *)(*(_QWORD *)&v476.m_uID - 24LL) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v371 = (unsigned int *)(*(_QWORD *)&v476.m_uID - 8LL);
do
v372 = __ldaxr(v371);
while ( __stlxr(v372 - 1, v371) );
}
else
{
v372 = *(_DWORD *)(*(_QWORD *)&v476.m_uID - 8LL);
*(_DWORD *)(*(_QWORD *)&v476.m_uID - 8LL) = v372 - 1;
}
if ( v372 <= 0 )
operator delete(v187);
}
if ( (__int64 *)&v476.__vftable[-1].canEncode == &qword_124B6B0 )
{
v188 = (char *)v475.m_sString.m_data.m_data - 24;
if ( (__int64 *)v475.m_sString.m_data.m_data - 3 == &qword_124B6B0 )
goto LABEL_81;
}
else
{
sub_5E8098(&v476.__vftable[-1].canEncode);
v188 = (char *)v475.m_sString.m_data.m_data - 24;
if ( (__int64 *)v475.m_sString.m_data.m_data - 3 == &qword_124B6B0 )
{
LABEL_81:
v189 = (void *)(*(_QWORD *)&v475.m_uOrderOfArrival - 24LL);
if ( (__int64 *)(*(_QWORD *)&v475.m_uOrderOfArrival - 24LL) == &qword_124B6B0 )
goto LABEL_82;
goto LABEL_444;
}
}
sub_5E8098(v188);
v189 = (void *)(*(_QWORD *)&v475.m_uOrderOfArrival - 24LL);
if ( (__int64 *)(*(_QWORD *)&v475.m_uOrderOfArrival - 24LL) == &qword_124B6B0 )
{
LABEL_82:
v190 = (void *)(*(_QWORD *)&v475.m_unknown2 - 24LL);
if ( (__int64 *)(*(_QWORD *)&v475.m_unknown2 - 24LL) == &qword_124B6B0 )
goto LABEL_83;
goto LABEL_445;
}
LABEL_444:
sub_5E8098(v189);
v190 = (void *)(*(_QWORD *)&v475.m_unknown2 - 24LL);
if ( (__int64 *)(*(_QWORD *)&v475.m_unknown2 - 24LL) == &qword_124B6B0 )
{
LABEL_83:
v191 = (void *)(*(_QWORD *)&v475.m_uIndexInArray - 24LL);
if ( (__int64 *)(*(_QWORD *)&v475.m_uIndexInArray - 24LL) == &qword_124B6B0 )
goto LABEL_84;
goto LABEL_446;
}
LABEL_445:
sub_5E8098(v190);
v191 = (void *)(*(_QWORD *)&v475.m_uIndexInArray - 24LL);
if ( (__int64 *)(*(_QWORD *)&v475.m_uIndexInArray - 24LL) == &qword_124B6B0 )
{
LABEL_84:
v192 = (void *)(*(_QWORD *)&v475.m_uAutoReleaseCount - 24LL);
if ( (__int64 *)(*(_QWORD *)&v475.m_uAutoReleaseCount - 24LL) == &qword_124B6B0 )
goto LABEL_85;
goto LABEL_447;
}
LABEL_446:
sub_5E8098(v191);
v192 = (void *)(*(_QWORD *)&v475.m_uAutoReleaseCount - 24LL);
if ( (__int64 *)(*(_QWORD *)&v475.m_uAutoReleaseCount - 24LL) == &qword_124B6B0 )
{
LABEL_85:
v193 = (void *)(*(_QWORD *)&v475.m_nTag - 24LL);
if ( (__int64 *)(*(_QWORD *)&v475.m_nTag - 24LL) == &qword_124B6B0 )
goto LABEL_86;
goto LABEL_448;
}
LABEL_447:
sub_5E8098(v192);
v193 = (void *)(*(_QWORD *)&v475.m_nTag - 24LL);
if ( (__int64 *)(*(_QWORD *)&v475.m_nTag - 24LL) == &qword_124B6B0 )
{
LABEL_86:
v194 = (void *)(*(_QWORD *)&v475.m_uID - 24LL);
if ( (__int64 *)(*(_QWORD *)&v475.m_uID - 24LL) == &qword_124B6B0 )
goto LABEL_87;
goto LABEL_449;
}
LABEL_448:
sub_5E8098(v193);
v194 = (void *)(*(_QWORD *)&v475.m_uID - 24LL);
if ( (__int64 *)(*(_QWORD *)&v475.m_uID - 24LL) == &qword_124B6B0 )
{
LABEL_87:
v195 = &v475.__vftable[-1].canEncode;
if ( (__int64 *)&v475.__vftable[-1].canEncode == &qword_124B6B0 )
goto LABEL_88;
goto LABEL_450;
}
LABEL_449:
sub_5E8098(v194);
v195 = &v475.__vftable[-1].canEncode;
if ( (__int64 *)&v475.__vftable[-1].canEncode == &qword_124B6B0 )
{
LABEL_88:
v196 = (char *)v474.m_sString.m_data.m_data - 24;
if ( (__int64 *)v474.m_sString.m_data.m_data - 3 == &qword_124B6B0 )
goto LABEL_89;
goto LABEL_451;
}
LABEL_450:
sub_5E8098(v195);
v196 = (char *)v474.m_sString.m_data.m_data - 24;
if ( (__int64 *)v474.m_sString.m_data.m_data - 3 == &qword_124B6B0 )
{
LABEL_89:
v197 = (void *)(*(_QWORD *)&v474.m_uOrderOfArrival - 24LL);
if ( (__int64 *)(*(_QWORD *)&v474.m_uOrderOfArrival - 24LL) == &qword_124B6B0 )
goto LABEL_90;
goto LABEL_452;
}
LABEL_451:
sub_5E8098(v196);
v197 = (void *)(*(_QWORD *)&v474.m_uOrderOfArrival - 24LL);
if ( (__int64 *)(*(_QWORD *)&v474.m_uOrderOfArrival - 24LL) == &qword_124B6B0 )
{
LABEL_90:
v198 = (void *)(*(_QWORD *)&v474.m_unknown2 - 24LL);
if ( (__int64 *)(*(_QWORD *)&v474.m_unknown2 - 24LL) == &qword_124B6B0 )
goto LABEL_91;
goto LABEL_453;
}
LABEL_452:
sub_5E8098(v197);
v198 = (void *)(*(_QWORD *)&v474.m_unknown2 - 24LL);
if ( (__int64 *)(*(_QWORD *)&v474.m_unknown2 - 24LL) == &qword_124B6B0 )
{
LABEL_91:
v199 = (void *)(*(_QWORD *)&v474.m_uIndexInArray - 24LL);
if ( (__int64 *)(*(_QWORD *)&v474.m_uIndexInArray - 24LL) == &qword_124B6B0 )
goto LABEL_92;
goto LABEL_454;
}
LABEL_453:
sub_5E8098(v198);
v199 = (void *)(*(_QWORD *)&v474.m_uIndexInArray - 24LL);
if ( (__int64 *)(*(_QWORD *)&v474.m_uIndexInArray - 24LL) == &qword_124B6B0 )
{
LABEL_92:
v200 = (void *)(*(_QWORD *)&v474.m_uAutoReleaseCount - 24LL);
if ( (__int64 *)(*(_QWORD *)&v474.m_uAutoReleaseCount - 24LL) == &qword_124B6B0 )
goto LABEL_93;
goto LABEL_455;
}
LABEL_454:
sub_5E8098(v199);
v200 = (void *)(*(_QWORD *)&v474.m_uAutoReleaseCount - 24LL);
if ( (__int64 *)(*(_QWORD *)&v474.m_uAutoReleaseCount - 24LL) == &qword_124B6B0 )
{
LABEL_93:
v201 = (void *)(*(_QWORD *)&v474.m_nTag - 24LL);
if ( (__int64 *)(*(_QWORD *)&v474.m_nTag - 24LL) == &qword_124B6B0 )
goto LABEL_94;
goto LABEL_456;
}
LABEL_455:
sub_5E8098(v200);
v201 = (void *)(*(_QWORD *)&v474.m_nTag - 24LL);
if ( (__int64 *)(*(_QWORD *)&v474.m_nTag - 24LL) == &qword_124B6B0 )
{
LABEL_94:
v202 = (void *)(*(_QWORD *)&v474.m_uID - 24LL);
if ( (__int64 *)(*(_QWORD *)&v474.m_uID - 24LL) == &qword_124B6B0 )
goto LABEL_95;
goto LABEL_457;
}
LABEL_456:
sub_5E8098(v201);
v202 = (void *)(*(_QWORD *)&v474.m_uID - 24LL);
if ( (__int64 *)(*(_QWORD *)&v474.m_uID - 24LL) == &qword_124B6B0 )
{
LABEL_95:
v203 = &v474.__vftable[-1].canEncode;
if ( (__int64 *)&v474.__vftable[-1].canEncode == &qword_124B6B0 )
goto LABEL_96;
goto LABEL_458;
}
LABEL_457:
sub_5E8098(v202);
v203 = &v474.__vftable[-1].canEncode;
if ( (__int64 *)&v474.__vftable[-1].canEncode == &qword_124B6B0 )
{
LABEL_96:
v204 = (char *)v473.m_sString.m_data.m_data - 24;
if ( (__int64 *)v473.m_sString.m_data.m_data - 3 == &qword_124B6B0 )
goto LABEL_97;
goto LABEL_459;
}
LABEL_458:
sub_5E8098(v203);
v204 = (char *)v473.m_sString.m_data.m_data - 24;
if ( (__int64 *)v473.m_sString.m_data.m_data - 3 == &qword_124B6B0 )
{
LABEL_97:
v205 = (void *)(*(_QWORD *)&v473.m_uOrderOfArrival - 24LL);
if ( (__int64 *)(*(_QWORD *)&v473.m_uOrderOfArrival - 24LL) == &qword_124B6B0 )
goto LABEL_98;
goto LABEL_460;
}
LABEL_459:
sub_5E8098(v204);
v205 = (void *)(*(_QWORD *)&v473.m_uOrderOfArrival - 24LL);
if ( (__int64 *)(*(_QWORD *)&v473.m_uOrderOfArrival - 24LL) == &qword_124B6B0 )
{
LABEL_98:
v206 = (void *)(*(_QWORD *)&v473.m_unknown2 - 24LL);
if ( (__int64 *)(*(_QWORD *)&v473.m_unknown2 - 24LL) == &qword_124B6B0 )
goto LABEL_99;
goto LABEL_461;
}
LABEL_460:
sub_5E8098(v205);
v206 = (void *)(*(_QWORD *)&v473.m_unknown2 - 24LL);
if ( (__int64 *)(*(_QWORD *)&v473.m_unknown2 - 24LL) == &qword_124B6B0 )
{
LABEL_99:
v207 = (void *)(*(_QWORD *)&v473.m_uIndexInArray - 24LL);
if ( (__int64 *)(*(_QWORD *)&v473.m_uIndexInArray - 24LL) == &qword_124B6B0 )
goto LABEL_100;
goto LABEL_462;
}
LABEL_461:
sub_5E8098(v206);
v207 = (void *)(*(_QWORD *)&v473.m_uIndexInArray - 24LL);
if ( (__int64 *)(*(_QWORD *)&v473.m_uIndexInArray - 24LL) == &qword_124B6B0 )
{
LABEL_100:
v208 = (void *)(*(_QWORD *)&v473.m_uAutoReleaseCount - 24LL);
if ( (__int64 *)(*(_QWORD *)&v473.m_uAutoReleaseCount - 24LL) == &qword_124B6B0 )
goto LABEL_101;
goto LABEL_463;
}
LABEL_462:
sub_5E8098(v207);
v208 = (void *)(*(_QWORD *)&v473.m_uAutoReleaseCount - 24LL);
if ( (__int64 *)(*(_QWORD *)&v473.m_uAutoReleaseCount - 24LL) == &qword_124B6B0 )
{
LABEL_101:
v209 = (void *)(*(_QWORD *)&v473.m_nTag - 24LL);
if ( (__int64 *)(*(_QWORD *)&v473.m_nTag - 24LL) == &qword_124B6B0 )
goto LABEL_102;
goto LABEL_464;
}
LABEL_463:
sub_5E8098(v208);
v209 = (void *)(*(_QWORD *)&v473.m_nTag - 24LL);
if ( (__int64 *)(*(_QWORD *)&v473.m_nTag - 24LL) == &qword_124B6B0 )
{
LABEL_102:
v210 = (void *)(*(_QWORD *)&v473.m_uID - 24LL);
if ( (__int64 *)(*(_QWORD *)&v473.m_uID - 24LL) == &qword_124B6B0 )
goto LABEL_103;
goto LABEL_465;
}
LABEL_464:
sub_5E8098(v209);
v210 = (void *)(*(_QWORD *)&v473.m_uID - 24LL);
if ( (__int64 *)(*(_QWORD *)&v473.m_uID - 24LL) == &qword_124B6B0 )
{
LABEL_103:
v211 = &v473.__vftable[-1].canEncode;
if ( (__int64 *)&v473.__vftable[-1].canEncode == &qword_124B6B0 )
goto LABEL_104;
goto LABEL_466;
}
LABEL_465:
sub_5E8098(v210);
v211 = &v473.__vftable[-1].canEncode;
if ( (__int64 *)&v473.__vftable[-1].canEncode == &qword_124B6B0 )
{
LABEL_104:
v212 = (char *)v472.m_sString.m_data.m_data - 24;
if ( (__int64 *)v472.m_sString.m_data.m_data - 3 == &qword_124B6B0 )
goto LABEL_105;
goto LABEL_467;
}
LABEL_466:
sub_5E8098(v211);
v212 = (char *)v472.m_sString.m_data.m_data - 24;
if ( (__int64 *)v472.m_sString.m_data.m_data - 3 == &qword_124B6B0 )
{
LABEL_105:
v213 = (void *)(*(_QWORD *)&v472.m_uOrderOfArrival - 24LL);
if ( (__int64 *)(*(_QWORD *)&v472.m_uOrderOfArrival - 24LL) == &qword_124B6B0 )
goto LABEL_106;
goto LABEL_468;
}
LABEL_467:
sub_5E8098(v212);
v213 = (void *)(*(_QWORD *)&v472.m_uOrderOfArrival - 24LL);
if ( (__int64 *)(*(_QWORD *)&v472.m_uOrderOfArrival - 24LL) == &qword_124B6B0 )
{
LABEL_106:
v214 = (void *)(*(_QWORD *)&v472.m_unknown2 - 24LL);
if ( (__int64 *)(*(_QWORD *)&v472.m_unknown2 - 24LL) == &qword_124B6B0 )
goto LABEL_107;
goto LABEL_469;
}
LABEL_468:
sub_5E8098(v213);
v214 = (void *)(*(_QWORD *)&v472.m_unknown2 - 24LL);
if ( (__int64 *)(*(_QWORD *)&v472.m_unknown2 - 24LL) == &qword_124B6B0 )
{
LABEL_107:
v215 = (void *)(*(_QWORD *)&v472.m_uIndexInArray - 24LL);
if ( (__int64 *)(*(_QWORD *)&v472.m_uIndexInArray - 24LL) == &qword_124B6B0 )
goto LABEL_108;
goto LABEL_470;
}
LABEL_469:
sub_5E8098(v214);
v215 = (void *)(*(_QWORD *)&v472.m_uIndexInArray - 24LL);
if ( (__int64 *)(*(_QWORD *)&v472.m_uIndexInArray - 24LL) == &qword_124B6B0 )
{
LABEL_108:
v216 = (void *)(*(_QWORD *)&v472.m_uAutoReleaseCount - 24LL);
if ( (__int64 *)(*(_QWORD *)&v472.m_uAutoReleaseCount - 24LL) == &qword_124B6B0 )
goto LABEL_109;
goto LABEL_471;
}
LABEL_470:
sub_5E8098(v215);
v216 = (void *)(*(_QWORD *)&v472.m_uAutoReleaseCount - 24LL);
if ( (__int64 *)(*(_QWORD *)&v472.m_uAutoReleaseCount - 24LL) == &qword_124B6B0 )
{
LABEL_109:
v217 = (void *)(*(_QWORD *)&v472.m_nTag - 24LL);
if ( (__int64 *)(*(_QWORD *)&v472.m_nTag - 24LL) == &qword_124B6B0 )
goto LABEL_110;
goto LABEL_472;
}
LABEL_471:
sub_5E8098(v216);
v217 = (void *)(*(_QWORD *)&v472.m_nTag - 24LL);
if ( (__int64 *)(*(_QWORD *)&v472.m_nTag - 24LL) == &qword_124B6B0 )
{
LABEL_110:
v218 = (void *)(*(_QWORD *)&v472.m_uID - 24LL);
if ( (__int64 *)(*(_QWORD *)&v472.m_uID - 24LL) == &qword_124B6B0 )
goto LABEL_111;
goto LABEL_473;
}
LABEL_472:
sub_5E8098(v217);
v218 = (void *)(*(_QWORD *)&v472.m_uID - 24LL);
if ( (__int64 *)(*(_QWORD *)&v472.m_uID - 24LL) == &qword_124B6B0 )
{
LABEL_111:
v219 = v472.__vftable;
v220 = &v472.__vftable[-1].canEncode;
if ( (__int64 *)&v472.__vftable[-1].canEncode == &qword_124B6B0 )
goto LABEL_112;
goto LABEL_474;
}
LABEL_473:
sub_5E8098(v218);
v219 = v472.__vftable;
v220 = &v472.__vftable[-1].canEncode;
if ( (__int64 *)&v472.__vftable[-1].canEncode == &qword_124B6B0 )
goto LABEL_112;
LABEL_474:
if ( &pthread_create )
{
v373 = (unsigned int *)&v219[-1].setTag;
do
v374 = __ldaxr(v373);
while ( __stlxr(v374 - 1, v373) );
}
else
{
v374 = (int)v219[-1].setTag;
LODWORD(v219[-1].setTag) = v374 - 1;
}
if ( v374 <= 0 )
operator delete(v220);
LABEL_112:
v221 = (char *)v471.m_sString.m_data.m_data - 24;
if ( (__int64 *)v471.m_sString.m_data.m_data - 3 != &qword_124B6B0 )
{
if ( &pthread_create )
{
v375 = (unsigned int *)((char *)v471.m_sString.m_data.m_data - 8);
do
v376 = __ldaxr(v375);
while ( __stlxr(v376 - 1, v375) );
}
else
{
v376 = *((_DWORD *)v471.m_sString.m_data.m_data - 2);
*((_DWORD *)v471.m_sString.m_data.m_data - 2) = v376 - 1;
}
if ( v376 <= 0 )
operator delete(v221);
}
v222 = (void *)(*(_QWORD *)&v471.m_uOrderOfArrival - 24LL);
if ( (__int64 *)(*(_QWORD *)&v471.m_uOrderOfArrival - 24LL) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v377 = (unsigned int *)(*(_QWORD *)&v471.m_uOrderOfArrival - 8LL);
do
v378 = __ldaxr(v377);
while ( __stlxr(v378 - 1, v377) );
}
else
{
v378 = *(_DWORD *)(*(_QWORD *)&v471.m_uOrderOfArrival - 8LL);
*(_DWORD *)(*(_QWORD *)&v471.m_uOrderOfArrival - 8LL) = v378 - 1;
}
if ( v378 <= 0 )
operator delete(v222);
}
v223 = (void *)(*(_QWORD *)&v471.m_unknown2 - 24LL);
if ( (__int64 *)(*(_QWORD *)&v471.m_unknown2 - 24LL) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v379 = (unsigned int *)(*(_QWORD *)&v471.m_unknown2 - 8LL);
do
v380 = __ldaxr(v379);
while ( __stlxr(v380 - 1, v379) );
}
else
{
v380 = *(_DWORD *)(*(_QWORD *)&v471.m_unknown2 - 8LL);
*(_DWORD *)(*(_QWORD *)&v471.m_unknown2 - 8LL) = v380 - 1;
}
if ( v380 <= 0 )
operator delete(v223);
}
v224 = (void *)(*(_QWORD *)&v471.m_uIndexInArray - 24LL);
if ( (__int64 *)(*(_QWORD *)&v471.m_uIndexInArray - 24LL) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v381 = (unsigned int *)(*(_QWORD *)&v471.m_uIndexInArray - 8LL);
do
v382 = __ldaxr(v381);
while ( __stlxr(v382 - 1, v381) );
}
else
{
v382 = *(_DWORD *)(*(_QWORD *)&v471.m_uIndexInArray - 8LL);
*(_DWORD *)(*(_QWORD *)&v471.m_uIndexInArray - 8LL) = v382 - 1;
}
if ( v382 <= 0 )
operator delete(v224);
}
v225 = (void *)(*(_QWORD *)&v471.m_uAutoReleaseCount - 24LL);
if ( (__int64 *)(*(_QWORD *)&v471.m_uAutoReleaseCount - 24LL) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v383 = (unsigned int *)(*(_QWORD *)&v471.m_uAutoReleaseCount - 8LL);
do
v384 = __ldaxr(v383);
while ( __stlxr(v384 - 1, v383) );
}
else
{
v384 = *(_DWORD *)(*(_QWORD *)&v471.m_uAutoReleaseCount - 8LL);
*(_DWORD *)(*(_QWORD *)&v471.m_uAutoReleaseCount - 8LL) = v384 - 1;
}
if ( v384 <= 0 )
operator delete(v225);
}
v226 = (void *)(*(_QWORD *)&v471.m_nTag - 24LL);
if ( (__int64 *)(*(_QWORD *)&v471.m_nTag - 24LL) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v385 = (unsigned int *)(*(_QWORD *)&v471.m_nTag - 8LL);
do
v386 = __ldaxr(v385);
while ( __stlxr(v386 - 1, v385) );
}
else
{
v386 = *(_DWORD *)(*(_QWORD *)&v471.m_nTag - 8LL);
*(_DWORD *)(*(_QWORD *)&v471.m_nTag - 8LL) = v386 - 1;
}
if ( v386 <= 0 )
operator delete(v226);
}
v227 = (void *)(*(_QWORD *)&v471.m_uID - 24LL);
if ( (__int64 *)(*(_QWORD *)&v471.m_uID - 24LL) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v387 = (unsigned int *)(*(_QWORD *)&v471.m_uID - 8LL);
do
v388 = __ldaxr(v387);
while ( __stlxr(v388 - 1, v387) );
}
else
{
v388 = *(_DWORD *)(*(_QWORD *)&v471.m_uID - 8LL);
*(_DWORD *)(*(_QWORD *)&v471.m_uID - 8LL) = v388 - 1;
}
if ( v388 <= 0 )
operator delete(v227);
}
v228 = &v471.__vftable[-1].canEncode;
if ( (__int64 *)&v471.__vftable[-1].canEncode != &qword_124B6B0 )
{
if ( &pthread_create )
{
v389 = (unsigned int *)&v471.__vftable[-1].setTag;
do
v390 = __ldaxr(v389);
while ( __stlxr(v390 - 1, v389) );
}
else
{
v390 = (int)v471.__vftable[-1].setTag;
LODWORD(v471.__vftable[-1].setTag) = v390 - 1;
}
if ( v390 <= 0 )
operator delete(v228);
}
v229 = (char *)v470.m_sString.m_data.m_data - 24;
if ( (__int64 *)v470.m_sString.m_data.m_data - 3 != &qword_124B6B0 )
{
if ( &pthread_create )
{
v397 = (unsigned int *)((char *)v470.m_sString.m_data.m_data - 8);
do
v398 = __ldaxr(v397);
while ( __stlxr(v398 - 1, v397) );
}
else
{
v398 = *((_DWORD *)v470.m_sString.m_data.m_data - 2);
*((_DWORD *)v470.m_sString.m_data.m_data - 2) = v398 - 1;
}
if ( v398 <= 0 )
operator delete(v229);
}
v230 = (void *)(*(_QWORD *)&v470.m_uOrderOfArrival - 24LL);
if ( (__int64 *)(*(_QWORD *)&v470.m_uOrderOfArrival - 24LL) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v399 = (unsigned int *)(*(_QWORD *)&v470.m_uOrderOfArrival - 8LL);
do
v400 = __ldaxr(v399);
while ( __stlxr(v400 - 1, v399) );
}
else
{
v400 = *(_DWORD *)(*(_QWORD *)&v470.m_uOrderOfArrival - 8LL);
*(_DWORD *)(*(_QWORD *)&v470.m_uOrderOfArrival - 8LL) = v400 - 1;
}
if ( v400 <= 0 )
operator delete(v230);
}
v231 = (void *)(*(_QWORD *)&v470.m_unknown2 - 24LL);
if ( (__int64 *)(*(_QWORD *)&v470.m_unknown2 - 24LL) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v401 = (unsigned int *)(*(_QWORD *)&v470.m_unknown2 - 8LL);
do
v402 = __ldaxr(v401);
while ( __stlxr(v402 - 1, v401) );
}
else
{
v402 = *(_DWORD *)(*(_QWORD *)&v470.m_unknown2 - 8LL);
*(_DWORD *)(*(_QWORD *)&v470.m_unknown2 - 8LL) = v402 - 1;
}
if ( v402 <= 0 )
operator delete(v231);
}
v232 = (void *)(*(_QWORD *)&v470.m_uIndexInArray - 24LL);
if ( (__int64 *)(*(_QWORD *)&v470.m_uIndexInArray - 24LL) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v403 = (unsigned int *)(*(_QWORD *)&v470.m_uIndexInArray - 8LL);
do
v404 = __ldaxr(v403);
while ( __stlxr(v404 - 1, v403) );
}
else
{
v404 = *(_DWORD *)(*(_QWORD *)&v470.m_uIndexInArray - 8LL);
*(_DWORD *)(*(_QWORD *)&v470.m_uIndexInArray - 8LL) = v404 - 1;
}
if ( v404 <= 0 )
operator delete(v232);
}
v233 = (void *)(*(_QWORD *)&v470.m_uAutoReleaseCount - 24LL);
if ( (__int64 *)(*(_QWORD *)&v470.m_uAutoReleaseCount - 24LL) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v393 = (unsigned int *)(*(_QWORD *)&v470.m_uAutoReleaseCount - 8LL);
do
v394 = __ldaxr(v393);
while ( __stlxr(v394 - 1, v393) );
}
else
{
v394 = *(_DWORD *)(*(_QWORD *)&v470.m_uAutoReleaseCount - 8LL);
*(_DWORD *)(*(_QWORD *)&v470.m_uAutoReleaseCount - 8LL) = v394 - 1;
}
if ( v394 <= 0 )
operator delete(v233);
}
v234 = (void *)(*(_QWORD *)&v470.m_nTag - 24LL);
if ( (__int64 *)(*(_QWORD *)&v470.m_nTag - 24LL) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v395 = (unsigned int *)(*(_QWORD *)&v470.m_nTag - 8LL);
do
v396 = __ldaxr(v395);
while ( __stlxr(v396 - 1, v395) );
}
else
{
v396 = *(_DWORD *)(*(_QWORD *)&v470.m_nTag - 8LL);
*(_DWORD *)(*(_QWORD *)&v470.m_nTag - 8LL) = v396 - 1;
}
if ( v396 <= 0 )
operator delete(v234);
}
v235 = (void *)(*(_QWORD *)&v470.m_uID - 24LL);
if ( (__int64 *)(*(_QWORD *)&v470.m_uID - 24LL) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v391 = (unsigned int *)(*(_QWORD *)&v470.m_uID - 8LL);
do
v392 = __ldaxr(v391);
while ( __stlxr(v392 - 1, v391) );
}
else
{
v392 = *(_DWORD *)(*(_QWORD *)&v470.m_uID - 8LL);
*(_DWORD *)(*(_QWORD *)&v470.m_uID - 8LL) = v392 - 1;
}
if ( v392 <= 0 )
operator delete(v235);
}
v236 = &v470.__vftable[-1].canEncode;
if ( (__int64 *)&v470.__vftable[-1].canEncode != &qword_124B6B0 )
{
if ( &pthread_create )
{
v253 = (unsigned int *)&v470.__vftable[-1].setTag;
do
v254 = __ldaxr(v253);
while ( __stlxr(v254 - 1, v253) );
}
else
{
v254 = (int)v470.__vftable[-1].setTag;
LODWORD(v470.__vftable[-1].setTag) = v254 - 1;
}
if ( v254 <= 0 )
operator delete(v236);
}
v237 = 0;
v238 = 0;
while ( v237 < (unsigned int)cocos2d::CCArray::count(v128) - 1 )
{
v239 = (cocos2d::CCString *)cocos2d::CCArray::objectAtIndex(v128, v237);
v240 = cocos2d::CCString::intValue(v239);
v241 = v237 + 1;
v237 += 2;
v242 = (cocos2d::CCString *)cocos2d::CCArray::objectAtIndex(v128, v241);
v243 = cocos2d::CCString::intValue(v242);
v244 = GameStatsManager::sharedState();
v245 = v238 + v243;
if ( GameStatsManager::hasCompletedMapPack(v244, v240) )
v238 = v245;
}
if ( Stat > v2 + v238 )
{
GameManager::resetCoinUnlocks(a1);
v246 = GameStatsManager::sharedState();
GameStatsManager::setStat(v246, "8", v2 + v238);
}
}