//
// GameStatsManager::checkAchievement from 0x10002ca20 to 0x100030c36 (16918 bytes)
//
// 3 xrefs:
// > GameStatsManager::setStat @ 0x10002c5df
// > GameStatsManager::incrementStat @ 0x10002c70b
// > GameStatsManager::incrementStat @ 0x10002c865
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:19:30 +0000
//
__m128 __fastcall GameStatsManager::checkAchievement(__int64 a1, const char *a2, __m128 result)
{
__int64 v3; // rbx
int v4; // r15d
size_t v5; // r15
__int32 v6; // r14d
int v7; // ebx
const char *v8; // rsi
__int64 v9; // rax
const char *CString; // r13
const char *v11; // rdi
size_t v12; // rax
__int64 v13; // rdx
size_t v14; // r12
char *v15; // r14
__int64 v16; // rax
__int32 v17; // r14d
__m128 v18; // xmm0
char *v19; // rsi
__int64 v20; // rdx
__m128 v21; // xmm0
__int64 v22; // rdi
__int64 v23; // rdx
__m128 v24; // xmm0
__int64 v25; // rdi
__int64 v26; // rdx
__m128 v27; // xmm0
__int64 v28; // rdi
__int64 v29; // rdx
__m128 v30; // xmm0
__int64 v31; // rdi
__int64 v32; // rdx
__m128 v33; // xmm0
__int64 v34; // rdi
__int64 v35; // rdx
__m128 v36; // xmm0
__int64 v37; // rdi
__int64 v38; // rdx
__m128 v39; // xmm0
__int64 v40; // rdi
__int64 v41; // rdx
__m128 v42; // xmm0
__int64 v43; // rdi
__int64 v44; // rdx
__m128 v45; // xmm0
__int64 v46; // rdi
__int64 v47; // rdx
__int64 v48; // rax
__m128 v49; // xmm0
__int64 v50; // rdx
const char *v51; // rsi
const char *v52; // r13
const char *v53; // r15
const char *v54; // r12
__int64 v55; // rdx
__int64 v56; // rdi
__m128 v57; // xmm0
__int64 v58; // rdx
__int64 v59; // rdi
__m128 v60; // xmm0
__int64 v61; // rdx
__int64 v62; // rdi
__m128 v63; // xmm0
unsigned int v64; // ebx
__int64 v65; // rdx
__int64 v66; // rax
const char *v67; // r15
const char *v68; // r12
__int64 v69; // rdx
__m128 v70; // xmm0
__int64 v71; // rdi
__int64 v72; // rdx
__m128 v73; // xmm0
__int64 v74; // rdi
__int64 v75; // rdx
__m128 v76; // xmm0
__int64 v77; // rdi
__int64 v78; // rdx
__m128 v79; // xmm0
__int64 v80; // rdi
__int64 v81; // rdx
__m128 v82; // xmm0
__int64 v83; // rdi
__int64 v84; // rdx
__m128 v85; // xmm0
__int64 v86; // rdi
__int64 v87; // rdx
__m128 v88; // xmm0
__int64 v89; // rdi
__int64 v90; // rdx
__m128 v91; // xmm0
__int64 v92; // rdi
__int64 v93; // rdx
__m128 v94; // xmm0
__int64 v95; // rdi
__int64 v96; // rdx
__m128 v97; // xmm0
__int64 v98; // rdi
__int64 v99; // rdx
__m128 v100; // xmm0
__int64 v101; // rdi
__int64 v102; // rdx
__m128 v103; // xmm0
__int64 v104; // rdi
__int64 v105; // rdx
__m128 v106; // xmm0
__int64 v107; // rdi
__int64 v108; // rdx
__m128 v109; // xmm0
__int64 v110; // rdi
__int64 v111; // rdx
__m128 v112; // xmm0
__int64 v113; // rdi
__int64 v114; // rdx
__m128 v115; // xmm0
__int64 v116; // rdi
__int64 v117; // rdx
__m128 v118; // xmm0
__int64 v119; // rdi
__int64 v120; // rdx
__m128 v121; // xmm0
__int64 v122; // rdi
__int64 v123; // rdx
__m128 v124; // xmm0
__int64 v125; // rdi
__int64 v126; // rdx
__m128 v127; // xmm0
__int64 v128; // rdi
__int64 v129; // rdx
__m128 v130; // xmm0
__int64 v131; // rdi
__int64 v132; // rdx
__m128 v133; // xmm0
__int64 v134; // rdi
__int64 v135; // rdx
__m128 v136; // xmm0
__int64 v137; // rdi
__int64 v138; // rdx
__m128 v139; // xmm0
__int64 v140; // rdi
__int64 v141; // rdx
__m128 v142; // xmm0
__int64 v143; // rdi
__int64 v144; // rdx
__m128 v145; // xmm0
__int64 v146; // rdx
int v147; // ebx
__int64 v148; // rax
__int64 v149; // rdi
__m128 v150; // xmm0
__int64 v151; // rdx
__int64 v152; // rdi
__m128 v153; // xmm0
__int64 v154; // rdx
__int64 v155; // rdi
__m128 v156; // xmm0
__int64 v157; // rdx
__int64 v158; // rdi
__m128 v159; // xmm0
__int64 v160; // rdx
__int64 v161; // rdx
int v162; // ebx
__int64 v163; // rax
__int64 v164; // rdi
__m128 v165; // xmm0
__int64 v166; // rdx
__int64 v167; // rdi
__m128 v168; // xmm0
__int64 v169; // rdx
__int64 v170; // rdi
__m128 v171; // xmm0
__int64 v172; // rdx
__int64 v173; // rdi
__m128 v174; // xmm0
__int64 v175; // rdx
__int64 v176; // rdi
__m128 v177; // xmm0
__int64 v178; // rdx
__int64 v179; // rdi
__m128 v180; // xmm0
__int64 v181; // rdx
__int64 v182; // rdi
__m128 v183; // xmm0
__int64 v184; // rdx
__int64 v185; // rdi
__m128 v186; // xmm0
__int64 v187; // rdx
__int64 v188; // rdi
__m128 v189; // xmm0
__int64 v190; // rdx
__int64 v191; // rdi
__m128 v192; // xmm0
__int64 v193; // rdx
__int64 v194; // rdi
__m128 v195; // xmm0
__int64 v196; // rdx
__int64 v197; // rdi
__m128 v198; // xmm0
__int64 v199; // rdx
__int64 v200; // rdi
__m128 v201; // xmm0
__int64 v202; // rdx
__int64 v203; // rdi
__m128 v204; // xmm0
__int64 v205; // rdx
__int64 v206; // rdi
__m128 v207; // xmm0
__int64 v208; // rdx
__int64 v209; // rdi
__m128 v210; // xmm0
__int64 v211; // rdx
__int64 v212; // rdi
__m128 v213; // xmm0
__int64 v214; // rdx
__int64 v215; // rdi
__m128 v216; // xmm0
__int64 v217; // rdx
__int64 v218; // rdi
__m128 v219; // xmm0
__int64 v220; // rdx
__int64 v221; // rdi
__m128 v222; // xmm0
__int64 v223; // rdx
__int64 v224; // rdi
__m128 v225; // xmm0
__int64 v226; // rdx
__int64 v227; // rdi
__m128 v228; // xmm0
__int64 v229; // rdx
__int64 v230; // rdi
__m128 v231; // xmm0
__int64 v232; // rdx
__int64 v233; // rdi
__m128 v234; // xmm0
__int64 v235; // rdx
__int64 v236; // rdi
__m128 v237; // xmm0
__int64 v238; // rdx
__int64 v239; // rdi
__m128 v240; // xmm0
__int64 v241; // rdx
__int64 v242; // rdi
__m128 v243; // xmm0
__int64 v244; // rdx
__int64 v245; // rdi
__m128 v246; // xmm0
__int64 v247; // rdx
__int64 v248; // rdi
__m128 v249; // xmm0
__int64 v250; // rdx
__int64 v251; // rdi
__m128 v252; // xmm0
__int64 v253; // rdx
__int64 v254; // rdi
__int64 v255; // rdx
__m128 v256; // xmm0
__int64 v257; // rdi
__int64 v258; // rdx
__m128 v259; // xmm0
__int64 v260; // rdi
__int64 v261; // rdx
__m128 v262; // xmm0
__int64 v263; // rdi
__int64 v264; // rdx
__m128 v265; // xmm0
__int64 v266; // rdi
__int64 v267; // rdx
__m128 v268; // xmm0
__int64 v269; // rdi
__int64 v270; // rdx
__m128 v271; // xmm0
__int64 v272; // rdi
__int64 v273; // rdx
__m128 v274; // xmm0
__int64 v275; // rdi
__int64 v276; // rdx
__m128 v277; // xmm0
__int64 v278; // rdx
__int64 v279; // rdi
__m128 v280; // xmm0
__int64 v281; // rdx
__int64 v282; // rdi
__m128 v283; // xmm0
__int64 v284; // rdx
__int64 v285; // rdi
__m128 v286; // xmm0
__int64 v287; // rdx
__int64 v288; // rdi
__int64 v289; // rdx
__m128 v290; // xmm0
__int64 v291; // rdi
__int64 v292; // rdx
__m128 v293; // xmm0
__int64 v294; // rdx
int v295; // ebx
__int64 v296; // rax
__int64 v297; // rdi
__m128 v298; // xmm0
__int64 v299; // rdx
__int64 v300; // rdi
__m128 v301; // xmm0
__int64 v302; // rdx
__int64 v303; // rdi
__m128 v304; // xmm0
__int64 v305; // rdx
__int64 v306; // rdi
__m128 v307; // xmm0
__int64 v308; // rdx
__int64 v309; // rdi
__m128 v310; // xmm0
__int64 v311; // rdx
__int64 v312; // rdi
__m128 v313; // xmm0
__int64 v314; // rdx
__int64 v315; // rdi
__m128 v316; // xmm0
__int64 v317; // rdx
__int64 v318; // rdi
__m128 v319; // xmm0
__int64 v320; // rdx
__int64 v321; // rdx
__int64 v322; // rdi
__m128 v323; // xmm0
__int64 v324; // rdx
__int64 v325; // rdi
__m128 v326; // xmm0
__int64 v327; // rdx
__int64 v328; // rdi
__m128 v329; // xmm0
__int64 v330; // rdx
__int64 v331; // rdi
__m128 v332; // xmm0
__int64 v333; // rdx
__int64 v334; // rdi
__m128 v335; // xmm0
__int64 v336; // rdx
__int64 v337; // rdi
__m128 v338; // xmm0
__int64 v339; // rdx
__int64 v340; // rdi
__m128 v341; // xmm0
__int64 v342; // rdx
__int64 v343; // rdi
__m128 v344; // xmm0
__int64 v345; // rdx
__int64 v346; // rdi
__m128 v347; // xmm0
__int64 v348; // rdx
__int64 v349; // rdi
__m128 v350; // xmm0
__int64 v351; // rdx
__int64 v352; // rdi
__m128 v353; // xmm0
__int64 v354; // rdx
__int64 v355; // rdi
__m128 v356; // xmm0
__int64 v357; // rdx
__int64 v358; // rdi
__m128 v359; // xmm0
__int64 v360; // rdx
__int64 v361; // rdi
__m128 v362; // xmm0
__int64 v363; // rdx
__int64 v364; // rdi
__m128 v365; // xmm0
__int64 v366; // rdx
__int64 v367; // rdi
__m128 v368; // xmm0
__int64 v369; // rdx
__int64 v370; // rdi
__m128 v371; // xmm0
__int64 v372; // rdx
__int64 v373; // rdi
__m128 v374; // xmm0
__int64 v375; // rdx
__int64 v376; // rdi
__m128 v377; // xmm0
__int64 v378; // rdx
__int64 v379; // rdi
__m128 v380; // xmm0
__int64 v381; // rdx
__int64 v382; // rdi
__m128 v383; // xmm0
__int64 v384; // rdx
__int64 v385; // rdi
__m128 v386; // xmm0
__int64 v387; // rdx
__int64 v388; // rdi
__m128 v389; // xmm0
__int64 v390; // rdx
__int64 v391; // rdi
__m128 v392; // xmm0
__int64 v393; // rdx
__int64 v394; // rdi
__int64 v395; // rdx
__m128 v396; // xmm0
__int64 v397; // rdi
__int64 v398; // rdx
__m128 v399; // xmm0
__int64 v400; // rdi
__int64 v401; // rdx
__m128 v402; // xmm0
__int64 v403; // rdx
__int64 v404; // rdi
__m128 v405; // xmm0
__int64 v406; // rdx
__int64 v407; // rdi
__m128 v408; // xmm0
__int64 v409; // rdx
__int64 v410; // rdi
__m128 v411; // xmm0
__int64 v412; // rdx
__int64 v413; // rdi
__m128 v414; // xmm0
__int64 v415; // rdx
__int64 v416; // rdi
__m128 v417; // xmm0
__int64 v418; // rdx
__int64 v419; // rdi
__m128 v420; // xmm0
__int64 v421; // rdx
__int64 v422; // rdi
__m128 v423; // xmm0
__int64 v424; // rdx
__int64 v425; // rdi
__m128 v426; // xmm0
__int64 v427; // rdx
__int64 v428; // rdi
__m128 v429; // xmm0
__int64 v430; // rdx
__int64 v431; // rdi
__m128 v432; // xmm0
__int64 v433; // rdx
__int64 v434; // rdi
__m128 v435; // xmm0
__int64 v436; // rdx
__int64 v437; // rdi
__m128 v438; // xmm0
__int64 v439; // rdx
__int64 v440; // rdi
__m128 v441; // xmm0
__int64 v442; // rdx
__int64 v443; // rdi
__m128 v444; // xmm0
__int64 v445; // rdx
__int64 v446; // rdi
__m128 v447; // xmm0
__int64 v448; // rdx
__int64 v449; // rdi
__m128 v450; // xmm0
__int64 v451; // rdx
__int64 v452; // rdi
__m128 v453; // xmm0
__int64 v454; // rdx
__int64 v455; // rdi
__m128 v456; // xmm0
__int64 v457; // rdx
__int64 v458; // rdi
__m128 v459; // xmm0
__int64 v460; // rdx
__int64 v461; // rdi
__m128 v462; // xmm0
__int64 v463; // rdx
__int64 v464; // rdi
__m128 v465; // xmm0
__int64 v466; // rdx
__int64 v467; // rdi
__m128 v468; // xmm0
__int64 v469; // rdx
__int64 v470; // rdi
__m128 v471; // xmm0
__int64 v472; // rdx
__int64 v473; // rdi
__m128 v474; // xmm0
__int64 v475; // rdx
__int64 v476; // rdi
__m128 v477; // xmm0
__int64 v478; // rdx
__int64 v479; // rdi
__m128 v480; // xmm0
__int64 v481; // rdx
__int64 v482; // rdi
__m128 v483; // xmm0
__int64 v484; // rdx
__int64 v485; // rdi
__m128 v486; // xmm0
__int64 v487; // rdx
__int64 v488; // rdi
__m128 v489; // xmm0
__int64 v490; // rdx
__int64 v491; // rdi
__m128 v492; // xmm0
__int64 v493; // rdx
__int64 v494; // rdi
__m128 v495; // xmm0
__int64 v496; // rdx
__int64 v497; // rdi
__m128 v498; // xmm0
__int64 v499; // rdx
__int64 v500; // rdx
int v501; // ebx
__int64 v502; // rax
__int64 v503; // rdi
__int64 v504; // rdx
__m128 v505; // xmm0
__int64 v506; // rdi
__int64 v507; // rdx
__m128 v508; // xmm0
__int64 v509; // rdi
__int64 v510; // rdx
__m128 v511; // xmm0
__int64 v512; // rdi
__int64 v513; // rdx
__m128 v514; // xmm0
__int64 v515; // rdi
__int64 v516; // rdx
__m128 v517; // xmm0
__int64 v518; // rdx
__int64 v519; // rax
__int64 v520; // rdi
__int64 v521; // rdx
__int64 v522; // rdi
__m128 v523; // xmm0
__int64 v524; // rdx
__int64 v525; // rdi
__m128 v526; // xmm0
__int64 v527; // rdx
__int64 v528; // rdi
__m128 v529; // xmm0
__int64 v530; // rdx
__int64 v531; // rdi
__m128 v532; // xmm0
__int64 v533; // rdx
__int64 v534; // rdi
__m128 v535; // xmm0
__int64 v536; // rdx
__int64 v537; // rdi
__m128 v538; // xmm0
__int64 v539; // rdx
__int64 v540; // rdi
__m128 v541; // xmm0
__int64 v542; // rdx
__int64 v543; // rdi
__m128 v544; // xmm0
__int64 v545; // rdx
__int64 v546; // rdi
__m128 v547; // xmm0
__int64 v548; // rdx
__int64 v549; // rdi
__int64 v550; // rdx
__m128 v551; // xmm0
__int64 v552; // rdi
__int64 v553; // rdx
__m128 v554; // xmm0
__int64 v555; // rdi
__int64 v556; // rdx
__m128 v557; // xmm0
__int64 v558; // rdi
__int64 v559; // rdx
__m128 v560; // xmm0
__int64 v561; // rdi
__int64 v562; // rdx
__m128 v563; // xmm0
__int64 v564; // rdi
__int64 v565; // rdx
__m128 v566; // xmm0
__int64 v567; // rdi
__int64 v568; // rdx
__m128 v569; // xmm0
__int64 v570; // rdi
__int64 v571; // rdx
__m128 v572; // xmm0
__int64 v573; // rdx
int Stat; // ebx
__int64 v575; // rax
__int64 v576; // rdi
__m128 v577; // xmm0
__int64 v578; // rdx
__int64 v579; // rdi
__m128 v580; // xmm0
__int64 v581; // rdx
__int64 v582; // rdi
__m128 v583; // xmm0
__int64 v584; // rdx
__int64 v585; // rdi
__m128 v586; // xmm0
__int64 v587; // rdx
__int64 v588; // rdi
__m128 v589; // xmm0
__int64 v590; // rdx
__int64 v591; // rdi
__m128 v592; // xmm0
__int64 v593; // rdx
__int64 v594; // rdi
__int64 v595; // rdx
__m128 v596; // xmm0
__int64 v597; // rdi
__int64 v598; // rdx
__m128 v599; // xmm0
__int64 v600; // rdi
__int64 v601; // rdx
__m128 v602; // xmm0
__int64 v603; // rdi
__int64 v604; // rdx
__m128 v605; // xmm0
__int64 v606; // rdi
__int64 v607; // rdx
__m128 v608; // xmm0
__int64 v609; // rdi
__int64 v610; // rdx
__m128 v611; // xmm0
__int64 v612; // rdx
__int64 v613; // rdi
__int64 v614; // rdx
__int64 v615; // rax
char v616; // r14
__int64 v617; // rdx
__int64 v618; // rdi
__int64 v619; // rdx
unsigned int v620; // ebx
__int64 v621; // rdi
__int64 v622; // rdx
unsigned int v623; // ebx
__int64 v624; // rdi
__int64 v625; // rdx
unsigned int v626; // ebx
__int64 v627; // rdi
__int64 v628; // rdx
__m128 v629; // xmm0
__int64 v630; // rdi
__int64 v631; // rdx
__m128 v632; // xmm0
__int64 v633; // rdi
__int64 v634; // rdx
__m128 v635; // xmm0
__int64 v636; // rdi
__int64 v637; // rdx
__m128 v638; // xmm0
__int64 v639; // rdi
__int64 v640; // rdx
__m128 v641; // xmm0
__int64 v642; // rdi
__int64 v643; // rdx
__m128 v644; // xmm0
__int64 v645; // rdx
int v646; // ebx
__int64 v647; // rax
__int64 v648; // rdi
__int64 v649; // rdx
__m128 v650; // xmm0
__int64 v651; // rdi
__int64 v652; // rdx
__m128 v653; // xmm0
__int64 v654; // rdx
__int64 v655; // rdi
__int64 v656; // rdx
__int64 v657; // rax
char v658; // r14
__int64 v659; // rdx
__int64 v660; // rdi
__int64 v661; // rdx
unsigned int v662; // ebx
__int64 v663; // rdi
__int64 v664; // rdx
unsigned int v665; // ebx
__int64 v666; // rdi
__int64 v667; // rdx
unsigned int v668; // ebx
__int64 v669; // rdi
__int64 v670; // rdx
__m128 v671; // xmm0
__int64 v672; // rdi
__int64 v673; // rdx
__m128 v674; // xmm0
__int64 v675; // rdi
__int64 v676; // rdx
__m128 v677; // xmm0
__int64 v678; // rdi
__int64 v679; // rdx
__m128 v680; // xmm0
__int64 v681; // rdi
__int64 v682; // rdx
__m128 v683; // xmm0
__int64 v684; // rdi
__int64 v685; // rdx
__m128 v686; // xmm0
__int64 v687; // rdi
__int64 v688; // rdx
__m128 v689; // xmm0
__int64 v690; // rdi
__int64 v691; // rdx
__m128 v692; // xmm0
__int64 v693; // rdi
__int64 v694; // rdx
__m128 v695; // xmm0
__int64 v696; // rdx
int v697; // ebx
__int64 v698; // rax
__m128 v699; // xmm0
__int64 v700; // rdi
__m128 v701; // xmm0
__int64 v702; // rdx
__int64 v703; // rdi
__m128 v704; // xmm0
__int64 v705; // rdx
__int64 v706; // rdi
__m128 v707; // xmm0
__int64 v708; // rdx
__int64 v709; // rdi
__m128 v710; // xmm0
__int64 v711; // rdx
__int64 v712; // rdi
__m128 v713; // xmm0
__int64 v714; // rdx
__int64 v715; // rdi
__m128 v716; // xmm0
__int64 v717; // rdx
__int64 v718; // rdi
__m128 v719; // xmm0
__int64 v720; // rdx
__int64 v721; // rdi
__m128 v722; // xmm0
__int64 v723; // rdx
__int64 v724; // rdi
__m128 v725; // xmm0
__int64 v726; // rdx
__int64 v727; // rdi
__m128 v728; // xmm0
__int64 v729; // rdx
__int64 v730; // rdi
__m128 v731; // xmm0
__int64 v732; // rdx
__int64 v733; // rdi
__m128 v734; // xmm0
__int64 v735; // rdx
__int64 v736; // rdi
__m128 v737; // xmm0
__int64 v738; // rdx
__int64 v739; // rdi
__m128 v740; // xmm0
__int64 v741; // rdx
__int64 v742; // rdi
__m128 v743; // xmm0
__int64 v744; // rdx
__int64 v745; // rdi
__m128 v746; // xmm0
__int64 v747; // rdx
__int64 v748; // rdi
__m128 v749; // xmm0
__int64 v750; // rdx
__int64 v751; // rdi
__m128 v752; // xmm0
__int64 v753; // rdx
__int64 v754; // rdi
__m128 v755; // xmm0
__int64 v756; // rdx
__int64 v757; // rdi
__m128 v758; // xmm0
__int64 v759; // rdx
__int64 v760; // rdi
__m128 v761; // xmm0
__int64 v762; // rdx
__int64 v763; // rdi
__m128 v764; // xmm0
__int64 v765; // rdx
__int64 v766; // rdi
__m128 v767; // xmm0
__int64 v768; // rdx
__int64 v769; // rdi
__m128 v770; // xmm0
__int64 v771; // rdx
__int64 v772; // rdi
__m128 v773; // xmm0
__int64 v774; // rdx
int v775; // r13d
__int64 v776; // rdx
__int64 v777; // rdi
__m128 v778; // xmm0
__int64 v779; // rdx
__int64 v780; // rdi
__m128 v781; // xmm0
__int64 v782; // rdx
__int64 v783; // rdi
__m128 v784; // xmm0
__int64 v785; // rdx
__int64 v786; // rdi
__m128 v787; // xmm0
__int64 v788; // rdx
__int64 v789; // rax
__m128 v790; // xmm0
int v791; // r14d
__int64 v792; // rdi
__int64 v793; // rdx
__m128 v794; // xmm0
__int64 v795; // rdi
__m128 v796; // xmm0
__int64 v797; // rdx
__int64 v798; // rdi
__m128 v799; // xmm0
__int64 v800; // rdx
__int64 v801; // rdi
__m128 v802; // xmm0
__int64 v803; // rdx
__int64 v804; // rdi
__m128 v805; // xmm0
__int64 v806; // rdx
int v807; // r14d
__int64 v808; // rdx
__int64 v809; // rdi
__int64 v810; // rdx
__m128 v811; // xmm0
__int64 v812; // rdi
__int64 v813; // rdx
__m128 v814; // xmm0
__int64 v815; // rdi
__int64 v816; // rdx
__m128 v817; // xmm0
__int64 v818; // rdi
__int64 v819; // rdx
__int64 v820; // rax
__m128 v821; // xmm0
__m128 v822; // xmm0
int v823; // r14d
__int64 v824; // rdi
__int64 v825; // rdx
__m128 v826; // xmm0
__int64 v827; // rdi
__int64 v828; // rdx
__m128 v829; // xmm0
__int64 v830; // rdi
__int64 v831; // rdx
__m128 v832; // xmm0
__int64 v833; // rdi
__int64 v834; // rdx
__m128 v835; // xmm0
__int64 v836; // rdi
__int64 v837; // rdx
__m128 v838; // xmm0
__int64 v839; // rdx
int v840; // ebx
__int64 v841; // rax
__int64 v842; // rdi
__int64 v843; // rdx
__m128 v844; // xmm0
__int64 v845; // rdi
__int64 v846; // rdx
__m128 v847; // xmm0
__int64 v848; // rdi
__int64 v849; // rdx
__m128 v850; // xmm0
__int64 v851; // rdi
__int64 v852; // rdx
__m128 v853; // xmm0
__int64 v854; // rdi
__int64 v855; // rdx
__m128 v856; // xmm0
char v857; // [rsp+0h] [rbp-80h]
_QWORD __dst[2]; // [rsp+8h] [rbp-78h] BYREF
void *__p; // [rsp+18h] [rbp-68h]
__m128 v860; // [rsp+20h] [rbp-60h]
const char *v861; // [rsp+38h] [rbp-48h]
__m128 v862; // [rsp+40h] [rbp-40h]
v3 = a1;
v4 = atoi(a2);
switch ( v4 )
{
case 1:
result.f32[0] = (float)(int)GameStatsManager::getStat(a1, a2, result);
v862 = result;
result.f32[0] = (float)(result.f32[0] / 1000.0) * 100.0;
v613 = GameManager::sharedState(a1, a2, v612);
GameManager::reportAchievementWithID(
v613,
"geometry.ach.jump01",
(unsigned int)(int)fminf(_mm_round_ss(result, result, 9).f32[0], 100.0),
0);
v615 = GameManager::sharedState(v613, "geometry.ach.jump01", v614);
v860 = _mm_round_ps(
_mm_mul_ps(
_mm_div_ps(_mm_shuffle_ps(v862, v862, 0), (__m128)xmmword_100A03A30),
(__m128)xmmword_100A03A20),
9);
v616 = _mm_movemask_ps(_mm_cmplt_ps(v860, (__m128)xmmword_100A03A20));
v617 = (unsigned int)(int)_mm_shuffle_ps(v860, v860, 255).f32[0];
if ( (v616 & 8) == 0 )
v617 = 100;
v618 = v615;
GameManager::reportAchievementWithID(v615, "geometry.ach.jump02", v617, 0);
v620 = (int)_mm_movehl_ps(v860, v860).f32[0];
if ( (v616 & 4) == 0 )
v620 = 100;
v621 = GameManager::sharedState(v618, "geometry.ach.jump02", v619);
GameManager::reportAchievementWithID(v621, "geometry.ach.jump03", v620, 0);
v623 = (int)_mm_movehdup_ps(v860).f32[0];
if ( (v616 & 2) == 0 )
v623 = 100;
v624 = GameManager::sharedState(v621, "geometry.ach.jump03", v622);
GameManager::reportAchievementWithID(v624, "geometry.ach.jump04", v623, 0);
v626 = (int)v860.f32[0];
if ( (v616 & 1) == 0 )
v626 = 100;
v627 = GameManager::sharedState(v624, "geometry.ach.jump04", v625);
GameManager::reportAchievementWithID(v627, "geometry.ach.jump05", v626, 0);
v629 = v862;
v629.f32[0] = (float)(v862.f32[0] / 200000.0) * 100.0;
v630 = GameManager::sharedState(v627, "geometry.ach.jump05", v628);
GameManager::reportAchievementWithID(
v630,
"geometry.ach.jump06",
(unsigned int)(int)_mm_round_ss(v629, v629, 9).f32[0],
0);
v632 = v862;
v632.f32[0] = (float)(v862.f32[0] / 300000.0) * 100.0;
v633 = GameManager::sharedState(v630, "geometry.ach.jump06", v631);
GameManager::reportAchievementWithID(
v633,
"geometry.ach.jump07",
(unsigned int)(int)_mm_round_ss(v632, v632, 9).f32[0],
0);
v635 = v862;
v635.f32[0] = (float)(v862.f32[0] / 400000.0) * 100.0;
v636 = GameManager::sharedState(v633, "geometry.ach.jump07", v634);
GameManager::reportAchievementWithID(
v636,
"geometry.ach.jump08",
(unsigned int)(int)_mm_round_ss(v635, v635, 9).f32[0],
0);
v638 = v862;
v638.f32[0] = (float)(v862.f32[0] / 500000.0) * 100.0;
v639 = GameManager::sharedState(v636, "geometry.ach.jump08", v637);
GameManager::reportAchievementWithID(
v639,
"geometry.ach.jump09",
(unsigned int)(int)_mm_round_ss(v638, v638, 9).f32[0],
0);
v641 = v862;
v641.f32[0] = (float)(v862.f32[0] / 750000.0) * 100.0;
v642 = GameManager::sharedState(v639, "geometry.ach.jump09", v640);
GameManager::reportAchievementWithID(
v642,
"geometry.ach.jump10",
(unsigned int)(int)_mm_round_ss(v641, v641, 9).f32[0],
0);
v48 = GameManager::sharedState(v642, "geometry.ach.jump10", v643);
v644 = v862;
v644.f32[0] = (float)(v862.f32[0] / 1000000.0) * 100.0;
v50 = (unsigned int)(int)_mm_round_ss(v644, v644, 9).f32[0];
v51 = "geometry.ach.jump11";
goto LABEL_94;
case 2:
result.f32[0] = (float)(int)GameStatsManager::getStat(a1, a2, result);
v862 = result;
result.f32[0] = (float)(result.f32[0] / 100.0) * 100.0;
v655 = GameManager::sharedState(a1, a2, v654);
GameManager::reportAchievementWithID(
v655,
"geometry.ach.attempt01",
(unsigned int)(int)fminf(_mm_round_ss(result, result, 9).f32[0], 100.0),
0);
v657 = GameManager::sharedState(v655, "geometry.ach.attempt01", v656);
v860 = _mm_round_ps(
_mm_mul_ps(
_mm_div_ps(_mm_shuffle_ps(v862, v862, 0), (__m128)xmmword_100A03A10),
(__m128)xmmword_100A03A20),
9);
v658 = _mm_movemask_ps(_mm_cmplt_ps(v860, (__m128)xmmword_100A03A20));
v659 = (unsigned int)(int)_mm_shuffle_ps(v860, v860, 255).f32[0];
if ( (v658 & 8) == 0 )
v659 = 100;
v660 = v657;
GameManager::reportAchievementWithID(v657, "geometry.ach.attempt02", v659, 0);
v662 = (int)_mm_movehl_ps(v860, v860).f32[0];
if ( (v658 & 4) == 0 )
v662 = 100;
v663 = GameManager::sharedState(v660, "geometry.ach.attempt02", v661);
GameManager::reportAchievementWithID(v663, "geometry.ach.attempt03", v662, 0);
v665 = (int)_mm_movehdup_ps(v860).f32[0];
if ( (v658 & 2) == 0 )
v665 = 100;
v666 = GameManager::sharedState(v663, "geometry.ach.attempt03", v664);
GameManager::reportAchievementWithID(v666, "geometry.ach.attempt04", v665, 0);
v668 = (int)v860.f32[0];
if ( (v658 & 1) == 0 )
v668 = 100;
v669 = GameManager::sharedState(v666, "geometry.ach.attempt04", v667);
GameManager::reportAchievementWithID(v669, "geometry.ach.attempt05", v668, 0);
v671 = v862;
v671.f32[0] = (float)(v862.f32[0] / 30000.0) * 100.0;
v672 = GameManager::sharedState(v669, "geometry.ach.attempt05", v670);
GameManager::reportAchievementWithID(
v672,
"geometry.ach.attempt06",
(unsigned int)(int)_mm_round_ss(v671, v671, 9).f32[0],
0);
v674 = v862;
v674.f32[0] = (float)(v862.f32[0] / 40000.0) * 100.0;
v675 = GameManager::sharedState(v672, "geometry.ach.attempt06", v673);
GameManager::reportAchievementWithID(
v675,
"geometry.ach.attempt07",
(unsigned int)(int)_mm_round_ss(v674, v674, 9).f32[0],
0);
v677 = v862;
v677.f32[0] = (float)(v862.f32[0] / 60000.0) * 100.0;
v678 = GameManager::sharedState(v675, "geometry.ach.attempt07", v676);
GameManager::reportAchievementWithID(
v678,
"geometry.ach.attempt08",
(unsigned int)(int)_mm_round_ss(v677, v677, 9).f32[0],
0);
v680 = v862;
v680.f32[0] = (float)(v862.f32[0] / 80000.0) * 100.0;
v681 = GameManager::sharedState(v678, "geometry.ach.attempt08", v679);
GameManager::reportAchievementWithID(
v681,
"geometry.ach.attempt09",
(unsigned int)(int)_mm_round_ss(v680, v680, 9).f32[0],
0);
v683 = v862;
v683.f32[0] = (float)(v862.f32[0] / 100000.0) * 100.0;
v684 = GameManager::sharedState(v681, "geometry.ach.attempt09", v682);
GameManager::reportAchievementWithID(
v684,
"geometry.ach.attempt10",
(unsigned int)(int)_mm_round_ss(v683, v683, 9).f32[0],
0);
v686 = v862;
v686.f32[0] = (float)(v862.f32[0] / 135000.0) * 100.0;
v687 = GameManager::sharedState(v684, "geometry.ach.attempt10", v685);
GameManager::reportAchievementWithID(
v687,
"geometry.ach.attempt11",
(unsigned int)(int)_mm_round_ss(v686, v686, 9).f32[0],
0);
v689 = v862;
v689.f32[0] = (float)(v862.f32[0] / 185000.0) * 100.0;
v690 = GameManager::sharedState(v687, "geometry.ach.attempt11", v688);
GameManager::reportAchievementWithID(
v690,
"geometry.ach.attempt12",
(unsigned int)(int)_mm_round_ss(v689, v689, 9).f32[0],
0);
v692 = v862;
v692.f32[0] = (float)(v862.f32[0] / 250000.0) * 100.0;
v693 = GameManager::sharedState(v690, "geometry.ach.attempt12", v691);
GameManager::reportAchievementWithID(
v693,
"geometry.ach.attempt13",
(unsigned int)(int)_mm_round_ss(v692, v692, 9).f32[0],
0);
v48 = GameManager::sharedState(v693, "geometry.ach.attempt13", v694);
v695 = v862;
v695.f32[0] = (float)(v862.f32[0] / 300000.0) * 100.0;
v50 = (unsigned int)(int)_mm_round_ss(v695, v695, 9).f32[0];
v51 = "geometry.ach.attempt14";
goto LABEL_94;
case 4:
Stat = GameStatsManager::getStat(a1, a2, result);
if ( Stat > 0 )
{
v575 = GameManager::sharedState(a1, a2, v573);
a2 = "geometry.ach.custom01";
a1 = v575;
result = GameManager::reportAchievementWithID(v575, "geometry.ach.custom01", 100, 0);
}
result.f32[0] = (float)((float)Stat / 10.0) * 100.0;
v576 = GameManager::sharedState(a1, a2, v573);
GameManager::reportAchievementWithID(
v576,
"geometry.ach.custom02",
(unsigned int)(int)_mm_round_ss(result, result, 9).f32[0],
0);
v577 = (__m128)COERCE_UNSIGNED_INT((float)Stat);
v577.f32[0] = (float)((float)Stat / 50.0) * 100.0;
v579 = GameManager::sharedState(v576, "geometry.ach.custom02", v578);
GameManager::reportAchievementWithID(
v579,
"geometry.ach.custom03",
(unsigned int)(int)_mm_round_ss(v577, v577, 9).f32[0],
0);
v580 = (__m128)COERCE_UNSIGNED_INT((float)Stat);
v580.f32[0] = (float)((float)Stat / 100.0) * 100.0;
v582 = GameManager::sharedState(v579, "geometry.ach.custom03", v581);
GameManager::reportAchievementWithID(
v582,
"geometry.ach.custom04",
(unsigned int)(int)_mm_round_ss(v580, v580, 9).f32[0],
0);
v583 = (__m128)COERCE_UNSIGNED_INT((float)Stat);
v583.f32[0] = (float)((float)Stat / 200.0) * 100.0;
v585 = GameManager::sharedState(v582, "geometry.ach.custom04", v584);
GameManager::reportAchievementWithID(
v585,
"geometry.ach.custom05",
(unsigned int)(int)_mm_round_ss(v583, v583, 9).f32[0],
0);
v586 = (__m128)COERCE_UNSIGNED_INT((float)Stat);
v586.f32[0] = (float)((float)Stat / 300.0) * 100.0;
v588 = GameManager::sharedState(v585, "geometry.ach.custom05", v587);
GameManager::reportAchievementWithID(
v588,
"geometry.ach.custom06",
(unsigned int)(int)_mm_round_ss(v586, v586, 9).f32[0],
0);
v589 = (__m128)COERCE_UNSIGNED_INT((float)Stat);
v589.f32[0] = (float)((float)Stat / 500.0) * 100.0;
v591 = GameManager::sharedState(v588, "geometry.ach.custom06", v590);
GameManager::reportAchievementWithID(
v591,
"geometry.ach.custom07",
(unsigned int)(int)_mm_round_ss(v589, v589, 9).f32[0],
0);
v592 = (__m128)COERCE_UNSIGNED_INT((float)Stat);
v592.f32[0] = (float)((float)Stat / 1000.0) * 100.0;
v594 = GameManager::sharedState(v591, "geometry.ach.custom07", v593);
GameManager::reportAchievementWithID(
v594,
"geometry.ach.custom08",
(unsigned int)(int)_mm_round_ss(v592, v592, 9).f32[0],
0);
v596 = (__m128)COERCE_UNSIGNED_INT((float)Stat);
v596.f32[0] = (float)((float)Stat / 1500.0) * 100.0;
v597 = GameManager::sharedState(v594, "geometry.ach.custom08", v595);
GameManager::reportAchievementWithID(
v597,
"geometry.ach.custom09",
(unsigned int)(int)_mm_round_ss(v596, v596, 9).f32[0],
0);
v599 = (__m128)COERCE_UNSIGNED_INT((float)Stat);
v599.f32[0] = (float)((float)Stat / 2000.0) * 100.0;
v600 = GameManager::sharedState(v597, "geometry.ach.custom09", v598);
GameManager::reportAchievementWithID(
v600,
"geometry.ach.custom10",
(unsigned int)(int)_mm_round_ss(v599, v599, 9).f32[0],
0);
v602 = (__m128)COERCE_UNSIGNED_INT((float)Stat);
v602.f32[0] = (float)((float)Stat / 2500.0) * 100.0;
v603 = GameManager::sharedState(v600, "geometry.ach.custom10", v601);
GameManager::reportAchievementWithID(
v603,
"geometry.ach.custom11",
(unsigned int)(int)_mm_round_ss(v602, v602, 9).f32[0],
0);
v605 = (__m128)COERCE_UNSIGNED_INT((float)Stat);
v605.f32[0] = (float)((float)Stat / 3000.0) * 100.0;
v606 = GameManager::sharedState(v603, "geometry.ach.custom11", v604);
GameManager::reportAchievementWithID(
v606,
"geometry.ach.custom12",
(unsigned int)(int)_mm_round_ss(v605, v605, 9).f32[0],
0);
v608 = (__m128)COERCE_UNSIGNED_INT((float)Stat);
v608.f32[0] = (float)((float)Stat / 4000.0) * 100.0;
v609 = GameManager::sharedState(v606, "geometry.ach.custom12", v607);
GameManager::reportAchievementWithID(
v609,
"geometry.ach.custom13",
(unsigned int)(int)_mm_round_ss(v608, v608, 9).f32[0],
0);
v48 = GameManager::sharedState(v609, "geometry.ach.custom13", v610);
v611 = (__m128)COERCE_UNSIGNED_INT((float)Stat);
v611.f32[0] = (float)((float)Stat / 5000.0) * 100.0;
v50 = (unsigned int)(int)_mm_round_ss(v611, v611, 9).f32[0];
v51 = "geometry.ach.custom14";
goto LABEL_94;
case 5:
v697 = GameStatsManager::getStat(a1, a2, result);
if ( v697 > 0 )
{
v698 = GameManager::sharedState(a1, a2, v696);
a2 = "geometry.ach.demon01";
a1 = v698;
GameManager::reportAchievementWithID(v698, "geometry.ach.demon01", 100, 0);
}
v699 = (__m128)0x3F000000u;
v699.f32[0] = (float)(0.5 * (float)v697) * 100.0;
v700 = GameManager::sharedState(a1, a2, v696);
GameManager::reportAchievementWithID(
v700,
"geometry.ach.demon02",
(unsigned int)(int)_mm_round_ss(v699, v699, 9).f32[0],
0);
v701 = (__m128)COERCE_UNSIGNED_INT((float)v697);
v701.f32[0] = (float)((float)v697 / 3.0) * 100.0;
v703 = GameManager::sharedState(v700, "geometry.ach.demon02", v702);
GameManager::reportAchievementWithID(
v703,
"geometry.ach.demon03",
(unsigned int)(int)_mm_round_ss(v701, v701, 9).f32[0],
0);
v704 = (__m128)0x3E800000u;
v704.f32[0] = (float)(0.25 * (float)v697) * 100.0;
v706 = GameManager::sharedState(v703, "geometry.ach.demon03", v705);
GameManager::reportAchievementWithID(
v706,
"geometry.ach.demon04",
(unsigned int)(int)_mm_round_ss(v704, v704, 9).f32[0],
0);
v707 = (__m128)COERCE_UNSIGNED_INT((float)v697);
v707.f32[0] = (float)((float)v697 / 5.0) * 100.0;
v709 = GameManager::sharedState(v706, "geometry.ach.demon04", v708);
GameManager::reportAchievementWithID(
v709,
"geometry.ach.demon05",
(unsigned int)(int)_mm_round_ss(v707, v707, 9).f32[0],
0);
v710 = (__m128)COERCE_UNSIGNED_INT((float)v697);
v710.f32[0] = (float)((float)v697 / 10.0) * 100.0;
v712 = GameManager::sharedState(v709, "geometry.ach.demon05", v711);
GameManager::reportAchievementWithID(
v712,
"geometry.ach.demon06",
(unsigned int)(int)_mm_round_ss(v710, v710, 9).f32[0],
0);
v713 = (__m128)COERCE_UNSIGNED_INT((float)v697);
v713.f32[0] = (float)((float)v697 / 15.0) * 100.0;
v715 = GameManager::sharedState(v712, "geometry.ach.demon06", v714);
GameManager::reportAchievementWithID(
v715,
"geometry.ach.demon07",
(unsigned int)(int)_mm_round_ss(v713, v713, 9).f32[0],
0);
v716 = (__m128)COERCE_UNSIGNED_INT((float)v697);
v716.f32[0] = (float)((float)v697 / 20.0) * 100.0;
v718 = GameManager::sharedState(v715, "geometry.ach.demon07", v717);
GameManager::reportAchievementWithID(
v718,
"geometry.ach.demon08",
(unsigned int)(int)_mm_round_ss(v716, v716, 9).f32[0],
0);
v719 = (__m128)COERCE_UNSIGNED_INT((float)v697);
v719.f32[0] = (float)((float)v697 / 30.0) * 100.0;
v721 = GameManager::sharedState(v718, "geometry.ach.demon08", v720);
GameManager::reportAchievementWithID(
v721,
"geometry.ach.demon09",
(unsigned int)(int)_mm_round_ss(v719, v719, 9).f32[0],
0);
v722 = (__m128)COERCE_UNSIGNED_INT((float)v697);
v722.f32[0] = (float)((float)v697 / 40.0) * 100.0;
v724 = GameManager::sharedState(v721, "geometry.ach.demon09", v723);
GameManager::reportAchievementWithID(
v724,
"geometry.ach.demon10",
(unsigned int)(int)_mm_round_ss(v722, v722, 9).f32[0],
0);
v725 = (__m128)COERCE_UNSIGNED_INT((float)v697);
v725.f32[0] = (float)((float)v697 / 50.0) * 100.0;
v727 = GameManager::sharedState(v724, "geometry.ach.demon10", v726);
GameManager::reportAchievementWithID(
v727,
"geometry.ach.demon11",
(unsigned int)(int)_mm_round_ss(v725, v725, 9).f32[0],
0);
v728 = (__m128)COERCE_UNSIGNED_INT((float)v697);
v728.f32[0] = (float)((float)v697 / 60.0) * 100.0;
v730 = GameManager::sharedState(v727, "geometry.ach.demon11", v729);
GameManager::reportAchievementWithID(
v730,
"geometry.ach.demon12",
(unsigned int)(int)_mm_round_ss(v728, v728, 9).f32[0],
0);
v731 = (__m128)COERCE_UNSIGNED_INT((float)v697);
v731.f32[0] = (float)((float)v697 / 70.0) * 100.0;
v733 = GameManager::sharedState(v730, "geometry.ach.demon12", v732);
GameManager::reportAchievementWithID(
v733,
"geometry.ach.demon13",
(unsigned int)(int)_mm_round_ss(v731, v731, 9).f32[0],
0);
v734 = (__m128)COERCE_UNSIGNED_INT((float)v697);
v734.f32[0] = (float)((float)v697 / 80.0) * 100.0;
v736 = GameManager::sharedState(v733, "geometry.ach.demon13", v735);
GameManager::reportAchievementWithID(
v736,
"geometry.ach.demon14",
(unsigned int)(int)_mm_round_ss(v734, v734, 9).f32[0],
0);
v737 = (__m128)COERCE_UNSIGNED_INT((float)v697);
v737.f32[0] = (float)((float)v697 / 90.0) * 100.0;
v739 = GameManager::sharedState(v736, "geometry.ach.demon14", v738);
GameManager::reportAchievementWithID(
v739,
"geometry.ach.demon15",
(unsigned int)(int)_mm_round_ss(v737, v737, 9).f32[0],
0);
v740 = (__m128)COERCE_UNSIGNED_INT((float)v697);
v740.f32[0] = (float)((float)v697 / 100.0) * 100.0;
v742 = GameManager::sharedState(v739, "geometry.ach.demon15", v741);
GameManager::reportAchievementWithID(
v742,
"geometry.ach.demon16",
(unsigned int)(int)_mm_round_ss(v740, v740, 9).f32[0],
0);
v743 = (__m128)COERCE_UNSIGNED_INT((float)v697);
v743.f32[0] = (float)((float)v697 / 120.0) * 100.0;
v745 = GameManager::sharedState(v742, "geometry.ach.demon16", v744);
GameManager::reportAchievementWithID(
v745,
"geometry.ach.demon17",
(unsigned int)(int)_mm_round_ss(v743, v743, 9).f32[0],
0);
v746 = (__m128)COERCE_UNSIGNED_INT((float)v697);
v746.f32[0] = (float)((float)v697 / 140.0) * 100.0;
v748 = GameManager::sharedState(v745, "geometry.ach.demon17", v747);
GameManager::reportAchievementWithID(
v748,
"geometry.ach.demon18",
(unsigned int)(int)_mm_round_ss(v746, v746, 9).f32[0],
0);
v749 = (__m128)COERCE_UNSIGNED_INT((float)v697);
v749.f32[0] = (float)((float)v697 / 160.0) * 100.0;
v751 = GameManager::sharedState(v748, "geometry.ach.demon18", v750);
GameManager::reportAchievementWithID(
v751,
"geometry.ach.demon19",
(unsigned int)(int)_mm_round_ss(v749, v749, 9).f32[0],
0);
v752 = (__m128)COERCE_UNSIGNED_INT((float)v697);
v752.f32[0] = (float)((float)v697 / 180.0) * 100.0;
v754 = GameManager::sharedState(v751, "geometry.ach.demon19", v753);
GameManager::reportAchievementWithID(
v754,
"geometry.ach.demon20",
(unsigned int)(int)_mm_round_ss(v752, v752, 9).f32[0],
0);
v755 = (__m128)COERCE_UNSIGNED_INT((float)v697);
v755.f32[0] = (float)((float)v697 / 200.0) * 100.0;
v757 = GameManager::sharedState(v754, "geometry.ach.demon20", v756);
GameManager::reportAchievementWithID(
v757,
"geometry.ach.demon21",
(unsigned int)(int)_mm_round_ss(v755, v755, 9).f32[0],
0);
v758 = (__m128)COERCE_UNSIGNED_INT((float)v697);
v758.f32[0] = (float)((float)v697 / 225.0) * 100.0;
v760 = GameManager::sharedState(v757, "geometry.ach.demon21", v759);
GameManager::reportAchievementWithID(
v760,
"geometry.ach.demon22",
(unsigned int)(int)_mm_round_ss(v758, v758, 9).f32[0],
0);
v761 = (__m128)COERCE_UNSIGNED_INT((float)v697);
v761.f32[0] = (float)((float)v697 / 250.0) * 100.0;
v763 = GameManager::sharedState(v760, "geometry.ach.demon22", v762);
GameManager::reportAchievementWithID(
v763,
"geometry.ach.demon23",
(unsigned int)(int)_mm_round_ss(v761, v761, 9).f32[0],
0);
v764 = (__m128)COERCE_UNSIGNED_INT((float)v697);
v764.f32[0] = (float)((float)v697 / 300.0) * 100.0;
v766 = GameManager::sharedState(v763, "geometry.ach.demon23", v765);
GameManager::reportAchievementWithID(
v766,
"geometry.ach.demon24",
(unsigned int)(int)_mm_round_ss(v764, v764, 9).f32[0],
0);
v767 = (__m128)COERCE_UNSIGNED_INT((float)v697);
v767.f32[0] = (float)((float)v697 / 350.0) * 100.0;
v769 = GameManager::sharedState(v766, "geometry.ach.demon24", v768);
GameManager::reportAchievementWithID(
v769,
"geometry.ach.demon25",
(unsigned int)(int)_mm_round_ss(v767, v767, 9).f32[0],
0);
v770 = (__m128)COERCE_UNSIGNED_INT((float)v697);
v770.f32[0] = (float)((float)v697 / 400.0) * 100.0;
v772 = GameManager::sharedState(v769, "geometry.ach.demon25", v771);
GameManager::reportAchievementWithID(
v772,
"geometry.ach.demon26",
(unsigned int)(int)_mm_round_ss(v770, v770, 9).f32[0],
0);
v773 = (__m128)COERCE_UNSIGNED_INT((float)v697);
v773.f32[0] = (float)((float)v697 / 500.0) * 100.0;
v64 = (int)_mm_round_ss(v773, v773, 9).f32[0];
v66 = GameManager::sharedState(v772, "geometry.ach.demon26", v774);
v51 = "geometry.ach.demon27";
goto LABEL_83;
case 6:
v862.f32[0] = (float)(int)GameStatsManager::getStat(a1, a2, result);
result.f32[0] = (float)(v862.f32[0] / 100.0) * 100.0;
v404 = GameManager::sharedState(a1, a2, v403);
GameManager::reportAchievementWithID(
v404,
"geometry.ach.stars01",
(unsigned int)(int)_mm_round_ss(result, result, 9).f32[0],
0);
v405 = (__m128)v862.u32[0];
v405.f32[0] = (float)(v862.f32[0] / 200.0) * 100.0;
v407 = GameManager::sharedState(v404, "geometry.ach.stars01", v406);
GameManager::reportAchievementWithID(
v407,
"geometry.ach.stars02",
(unsigned int)(int)_mm_round_ss(v405, v405, 9).f32[0],
0);
v408 = (__m128)v862.u32[0];
v408.f32[0] = (float)(v862.f32[0] / 300.0) * 100.0;
v410 = GameManager::sharedState(v407, "geometry.ach.stars02", v409);
GameManager::reportAchievementWithID(
v410,
"geometry.ach.stars03",
(unsigned int)(int)_mm_round_ss(v408, v408, 9).f32[0],
0);
v411 = (__m128)v862.u32[0];
v411.f32[0] = (float)(v862.f32[0] / 400.0) * 100.0;
v413 = GameManager::sharedState(v410, "geometry.ach.stars03", v412);
GameManager::reportAchievementWithID(
v413,
"geometry.ach.stars04",
(unsigned int)(int)_mm_round_ss(v411, v411, 9).f32[0],
0);
v414 = (__m128)v862.u32[0];
v414.f32[0] = (float)(v862.f32[0] / 500.0) * 100.0;
v416 = GameManager::sharedState(v413, "geometry.ach.stars04", v415);
GameManager::reportAchievementWithID(
v416,
"geometry.ach.stars05",
(unsigned int)(int)_mm_round_ss(v414, v414, 9).f32[0],
0);
v417 = (__m128)v862.u32[0];
v417.f32[0] = (float)(v862.f32[0] / 600.0) * 100.0;
v419 = GameManager::sharedState(v416, "geometry.ach.stars05", v418);
GameManager::reportAchievementWithID(
v419,
"geometry.ach.stars06",
(unsigned int)(int)_mm_round_ss(v417, v417, 9).f32[0],
0);
v420 = (__m128)v862.u32[0];
v420.f32[0] = (float)(v862.f32[0] / 700.0) * 100.0;
v422 = GameManager::sharedState(v419, "geometry.ach.stars06", v421);
GameManager::reportAchievementWithID(
v422,
"geometry.ach.stars07",
(unsigned int)(int)_mm_round_ss(v420, v420, 9).f32[0],
0);
v423 = (__m128)v862.u32[0];
v423.f32[0] = (float)(v862.f32[0] / 800.0) * 100.0;
v425 = GameManager::sharedState(v422, "geometry.ach.stars07", v424);
GameManager::reportAchievementWithID(
v425,
"geometry.ach.stars08",
(unsigned int)(int)_mm_round_ss(v423, v423, 9).f32[0],
0);
v426 = (__m128)v862.u32[0];
v426.f32[0] = (float)(v862.f32[0] / 900.0) * 100.0;
v428 = GameManager::sharedState(v425, "geometry.ach.stars08", v427);
GameManager::reportAchievementWithID(
v428,
"geometry.ach.stars09",
(unsigned int)(int)_mm_round_ss(v426, v426, 9).f32[0],
0);
v429 = (__m128)v862.u32[0];
v429.f32[0] = (float)(v862.f32[0] / 1000.0) * 100.0;
v431 = GameManager::sharedState(v428, "geometry.ach.stars09", v430);
GameManager::reportAchievementWithID(
v431,
"geometry.ach.stars10",
(unsigned int)(int)_mm_round_ss(v429, v429, 9).f32[0],
0);
v432 = (__m128)v862.u32[0];
v432.f32[0] = (float)(v862.f32[0] / 1500.0) * 100.0;
v434 = GameManager::sharedState(v431, "geometry.ach.stars10", v433);
GameManager::reportAchievementWithID(
v434,
"geometry.ach.stars11",
(unsigned int)(int)_mm_round_ss(v432, v432, 9).f32[0],
0);
v435 = (__m128)v862.u32[0];
v435.f32[0] = (float)(v862.f32[0] / 2000.0) * 100.0;
v437 = GameManager::sharedState(v434, "geometry.ach.stars11", v436);
GameManager::reportAchievementWithID(
v437,
"geometry.ach.stars12",
(unsigned int)(int)_mm_round_ss(v435, v435, 9).f32[0],
0);
v438 = (__m128)v862.u32[0];
v438.f32[0] = (float)(v862.f32[0] / 2500.0) * 100.0;
v440 = GameManager::sharedState(v437, "geometry.ach.stars12", v439);
GameManager::reportAchievementWithID(
v440,
"geometry.ach.stars13",
(unsigned int)(int)_mm_round_ss(v438, v438, 9).f32[0],
0);
v441 = (__m128)v862.u32[0];
v441.f32[0] = (float)(v862.f32[0] / 3000.0) * 100.0;
v443 = GameManager::sharedState(v440, "geometry.ach.stars13", v442);
GameManager::reportAchievementWithID(
v443,
"geometry.ach.stars14",
(unsigned int)(int)_mm_round_ss(v441, v441, 9).f32[0],
0);
v444 = (__m128)v862.u32[0];
v444.f32[0] = (float)(v862.f32[0] / 3500.0) * 100.0;
v446 = GameManager::sharedState(v443, "geometry.ach.stars14", v445);
GameManager::reportAchievementWithID(
v446,
"geometry.ach.stars15",
(unsigned int)(int)_mm_round_ss(v444, v444, 9).f32[0],
0);
v447 = (__m128)v862.u32[0];
v447.f32[0] = (float)(v862.f32[0] / 4000.0) * 100.0;
v449 = GameManager::sharedState(v446, "geometry.ach.stars15", v448);
GameManager::reportAchievementWithID(
v449,
"geometry.ach.stars16",
(unsigned int)(int)_mm_round_ss(v447, v447, 9).f32[0],
0);
v450 = (__m128)v862.u32[0];
v450.f32[0] = (float)(v862.f32[0] / 4500.0) * 100.0;
v452 = GameManager::sharedState(v449, "geometry.ach.stars16", v451);
GameManager::reportAchievementWithID(
v452,
"geometry.ach.stars17",
(unsigned int)(int)_mm_round_ss(v450, v450, 9).f32[0],
0);
v453 = (__m128)v862.u32[0];
v453.f32[0] = (float)(v862.f32[0] / 5000.0) * 100.0;
v455 = GameManager::sharedState(v452, "geometry.ach.stars17", v454);
GameManager::reportAchievementWithID(
v455,
"geometry.ach.stars18",
(unsigned int)(int)_mm_round_ss(v453, v453, 9).f32[0],
0);
v456 = (__m128)v862.u32[0];
v456.f32[0] = (float)(v862.f32[0] / 5500.0) * 100.0;
v458 = GameManager::sharedState(v455, "geometry.ach.stars18", v457);
GameManager::reportAchievementWithID(
v458,
"geometry.ach.stars19",
(unsigned int)(int)_mm_round_ss(v456, v456, 9).f32[0],
0);
v459 = (__m128)v862.u32[0];
v459.f32[0] = (float)(v862.f32[0] / 6000.0) * 100.0;
v461 = GameManager::sharedState(v458, "geometry.ach.stars19", v460);
GameManager::reportAchievementWithID(
v461,
"geometry.ach.stars20",
(unsigned int)(int)_mm_round_ss(v459, v459, 9).f32[0],
0);
v462 = (__m128)v862.u32[0];
v462.f32[0] = (float)(v862.f32[0] / 6500.0) * 100.0;
v464 = GameManager::sharedState(v461, "geometry.ach.stars20", v463);
GameManager::reportAchievementWithID(
v464,
"geometry.ach.stars21",
(unsigned int)(int)_mm_round_ss(v462, v462, 9).f32[0],
0);
v465 = (__m128)v862.u32[0];
v465.f32[0] = (float)(v862.f32[0] / 7000.0) * 100.0;
v467 = GameManager::sharedState(v464, "geometry.ach.stars21", v466);
GameManager::reportAchievementWithID(
v467,
"geometry.ach.stars22",
(unsigned int)(int)_mm_round_ss(v465, v465, 9).f32[0],
0);
v468 = (__m128)v862.u32[0];
v468.f32[0] = (float)(v862.f32[0] / 7500.0) * 100.0;
v470 = GameManager::sharedState(v467, "geometry.ach.stars22", v469);
GameManager::reportAchievementWithID(
v470,
"geometry.ach.stars23",
(unsigned int)(int)_mm_round_ss(v468, v468, 9).f32[0],
0);
v471 = (__m128)v862.u32[0];
v471.f32[0] = (float)(v862.f32[0] / 8000.0) * 100.0;
v473 = GameManager::sharedState(v470, "geometry.ach.stars23", v472);
GameManager::reportAchievementWithID(
v473,
"geometry.ach.stars24",
(unsigned int)(int)_mm_round_ss(v471, v471, 9).f32[0],
0);
v474 = (__m128)v862.u32[0];
v474.f32[0] = (float)(v862.f32[0] / 9000.0) * 100.0;
v476 = GameManager::sharedState(v473, "geometry.ach.stars24", v475);
GameManager::reportAchievementWithID(
v476,
"geometry.ach.stars25",
(unsigned int)(int)_mm_round_ss(v474, v474, 9).f32[0],
0);
v477 = (__m128)v862.u32[0];
v477.f32[0] = (float)(v862.f32[0] / 10000.0) * 100.0;
v479 = GameManager::sharedState(v476, "geometry.ach.stars25", v478);
GameManager::reportAchievementWithID(
v479,
"geometry.ach.stars26",
(unsigned int)(int)_mm_round_ss(v477, v477, 9).f32[0],
0);
v480 = (__m128)v862.u32[0];
v480.f32[0] = (float)(v862.f32[0] / 12000.0) * 100.0;
v482 = GameManager::sharedState(v479, "geometry.ach.stars26", v481);
GameManager::reportAchievementWithID(
v482,
"geometry.ach.stars27",
(unsigned int)(int)_mm_round_ss(v480, v480, 9).f32[0],
0);
v483 = (__m128)v862.u32[0];
v483.f32[0] = (float)(v862.f32[0] / 14000.0) * 100.0;
v485 = GameManager::sharedState(v482, "geometry.ach.stars27", v484);
GameManager::reportAchievementWithID(
v485,
"geometry.ach.stars28",
(unsigned int)(int)_mm_round_ss(v483, v483, 9).f32[0],
0);
v486 = (__m128)v862.u32[0];
v486.f32[0] = (float)(v862.f32[0] / 16000.0) * 100.0;
v488 = GameManager::sharedState(v485, "geometry.ach.stars28", v487);
GameManager::reportAchievementWithID(
v488,
"geometry.ach.stars29",
(unsigned int)(int)_mm_round_ss(v486, v486, 9).f32[0],
0);
v489 = (__m128)v862.u32[0];
v489.f32[0] = (float)(v862.f32[0] / 18000.0) * 100.0;
v491 = GameManager::sharedState(v488, "geometry.ach.stars29", v490);
GameManager::reportAchievementWithID(
v491,
"geometry.ach.stars30",
(unsigned int)(int)_mm_round_ss(v489, v489, 9).f32[0],
0);
v492 = (__m128)v862.u32[0];
v492.f32[0] = (float)(v862.f32[0] / 20000.0) * 100.0;
v494 = GameManager::sharedState(v491, "geometry.ach.stars30", v493);
GameManager::reportAchievementWithID(
v494,
"geometry.ach.stars31",
(unsigned int)(int)_mm_round_ss(v492, v492, 9).f32[0],
0);
v495 = (__m128)v862.u32[0];
v495.f32[0] = (float)(v862.f32[0] / 22500.0) * 100.0;
v497 = GameManager::sharedState(v494, "geometry.ach.stars31", v496);
GameManager::reportAchievementWithID(
v497,
"geometry.ach.stars32",
(unsigned int)(int)_mm_round_ss(v495, v495, 9).f32[0],
0);
v498 = (__m128)v862.u32[0];
v498.f32[0] = (float)(v862.f32[0] / 25000.0) * 100.0;
v64 = (int)_mm_round_ss(v498, v498, 9).f32[0];
v66 = GameManager::sharedState(v497, "geometry.ach.stars32", v499);
v51 = "geometry.ach.stars33";
goto LABEL_83;
case 7:
v295 = GameStatsManager::getStat(a1, a2, result);
if ( v295 > 0 )
{
v296 = GameManager::sharedState(a1, a2, v294);
a2 = "geometry.ach.mappacks01";
a1 = v296;
result = GameManager::reportAchievementWithID(v296, "geometry.ach.mappacks01", 100, 0);
}
result.f32[0] = (float)((float)v295 / 5.0) * 100.0;
v297 = GameManager::sharedState(a1, a2, v294);
GameManager::reportAchievementWithID(
v297,
"geometry.ach.mappacks02",
(unsigned int)(int)_mm_round_ss(result, result, 9).f32[0],
0);
v298 = (__m128)COERCE_UNSIGNED_INT((float)v295);
v298.f32[0] = (float)((float)v295 / 10.0) * 100.0;
v300 = GameManager::sharedState(v297, "geometry.ach.mappacks02", v299);
GameManager::reportAchievementWithID(
v300,
"geometry.ach.mappacks03",
(unsigned int)(int)_mm_round_ss(v298, v298, 9).f32[0],
0);
v301 = (__m128)COERCE_UNSIGNED_INT((float)v295);
v301.f32[0] = (float)((float)v295 / 15.0) * 100.0;
v303 = GameManager::sharedState(v300, "geometry.ach.mappacks03", v302);
GameManager::reportAchievementWithID(
v303,
"geometry.ach.mappacks04",
(unsigned int)(int)_mm_round_ss(v301, v301, 9).f32[0],
0);
v304 = (__m128)COERCE_UNSIGNED_INT((float)v295);
v304.f32[0] = (float)((float)v295 / 20.0) * 100.0;
v306 = GameManager::sharedState(v303, "geometry.ach.mappacks04", v305);
GameManager::reportAchievementWithID(
v306,
"geometry.ach.mappacks05",
(unsigned int)(int)_mm_round_ss(v304, v304, 9).f32[0],
0);
v307 = (__m128)COERCE_UNSIGNED_INT((float)v295);
v307.f32[0] = (float)((float)v295 / 25.0) * 100.0;
v309 = GameManager::sharedState(v306, "geometry.ach.mappacks05", v308);
GameManager::reportAchievementWithID(
v309,
"geometry.ach.mappacks06",
(unsigned int)(int)_mm_round_ss(v307, v307, 9).f32[0],
0);
v310 = (__m128)COERCE_UNSIGNED_INT((float)v295);
v310.f32[0] = (float)((float)v295 / 30.0) * 100.0;
v312 = GameManager::sharedState(v309, "geometry.ach.mappacks06", v311);
GameManager::reportAchievementWithID(
v312,
"geometry.ach.mappacks07",
(unsigned int)(int)_mm_round_ss(v310, v310, 9).f32[0],
0);
v313 = (__m128)COERCE_UNSIGNED_INT((float)v295);
v313.f32[0] = (float)((float)v295 / 35.0) * 100.0;
v315 = GameManager::sharedState(v312, "geometry.ach.mappacks07", v314);
GameManager::reportAchievementWithID(
v315,
"geometry.ach.mappacks08",
(unsigned int)(int)_mm_round_ss(v313, v313, 9).f32[0],
0);
v316 = (__m128)COERCE_UNSIGNED_INT((float)v295);
v316.f32[0] = (float)((float)v295 / 40.0) * 100.0;
v318 = GameManager::sharedState(v315, "geometry.ach.mappacks08", v317);
GameManager::reportAchievementWithID(
v318,
"geometry.ach.mappacks09",
(unsigned int)(int)_mm_round_ss(v316, v316, 9).f32[0],
0);
v319 = (__m128)COERCE_UNSIGNED_INT((float)v295);
v319.f32[0] = (float)((float)v295 / 45.0) * 100.0;
v64 = (int)_mm_round_ss(v319, v319, 9).f32[0];
v66 = GameManager::sharedState(v318, "geometry.ach.mappacks09", v320);
v51 = "geometry.ach.mappacks10";
goto LABEL_83;
case 8:
v862.f32[0] = (float)(int)GameStatsManager::getStat(a1, a2, result);
result.f32[0] = (float)(v862.f32[0] / 5.0) * 100.0;
v322 = GameManager::sharedState(a1, a2, v321);
GameManager::reportAchievementWithID(
v322,
"geometry.ach.coins01",
(unsigned int)(int)_mm_round_ss(result, result, 9).f32[0],
0);
v323 = (__m128)v862.u32[0];
v323.f32[0] = (float)(v862.f32[0] / 10.0) * 100.0;
v325 = GameManager::sharedState(v322, "geometry.ach.coins01", v324);
GameManager::reportAchievementWithID(
v325,
"geometry.ach.coins02",
(unsigned int)(int)_mm_round_ss(v323, v323, 9).f32[0],
0);
v326 = (__m128)v862.u32[0];
v326.f32[0] = (float)(v862.f32[0] / 15.0) * 100.0;
v328 = GameManager::sharedState(v325, "geometry.ach.coins02", v327);
GameManager::reportAchievementWithID(
v328,
"geometry.ach.coins03",
(unsigned int)(int)_mm_round_ss(v326, v326, 9).f32[0],
0);
v329 = (__m128)v862.u32[0];
v329.f32[0] = (float)(v862.f32[0] / 20.0) * 100.0;
v331 = GameManager::sharedState(v328, "geometry.ach.coins03", v330);
GameManager::reportAchievementWithID(
v331,
"geometry.ach.coins04",
(unsigned int)(int)_mm_round_ss(v329, v329, 9).f32[0],
0);
v332 = (__m128)v862.u32[0];
v332.f32[0] = (float)(v862.f32[0] / 25.0) * 100.0;
v334 = GameManager::sharedState(v331, "geometry.ach.coins04", v333);
GameManager::reportAchievementWithID(
v334,
"geometry.ach.coins05",
(unsigned int)(int)_mm_round_ss(v332, v332, 9).f32[0],
0);
v335 = (__m128)v862.u32[0];
v335.f32[0] = (float)(v862.f32[0] / 30.0) * 100.0;
v337 = GameManager::sharedState(v334, "geometry.ach.coins05", v336);
GameManager::reportAchievementWithID(
v337,
"geometry.ach.coins06",
(unsigned int)(int)_mm_round_ss(v335, v335, 9).f32[0],
0);
v338 = (__m128)v862.u32[0];
v338.f32[0] = (float)(v862.f32[0] / 35.0) * 100.0;
v340 = GameManager::sharedState(v337, "geometry.ach.coins06", v339);
GameManager::reportAchievementWithID(
v340,
"geometry.ach.coins07",
(unsigned int)(int)_mm_round_ss(v338, v338, 9).f32[0],
0);
v341 = (__m128)v862.u32[0];
v341.f32[0] = (float)(v862.f32[0] / 40.0) * 100.0;
v343 = GameManager::sharedState(v340, "geometry.ach.coins07", v342);
GameManager::reportAchievementWithID(
v343,
"geometry.ach.coins08",
(unsigned int)(int)_mm_round_ss(v341, v341, 9).f32[0],
0);
v344 = (__m128)v862.u32[0];
v344.f32[0] = (float)(v862.f32[0] / 45.0) * 100.0;
v346 = GameManager::sharedState(v343, "geometry.ach.coins08", v345);
GameManager::reportAchievementWithID(
v346,
"geometry.ach.coins09",
(unsigned int)(int)_mm_round_ss(v344, v344, 9).f32[0],
0);
v347 = (__m128)v862.u32[0];
v347.f32[0] = (float)(v862.f32[0] / 50.0) * 100.0;
v349 = GameManager::sharedState(v346, "geometry.ach.coins09", v348);
GameManager::reportAchievementWithID(
v349,
"geometry.ach.coins10",
(unsigned int)(int)_mm_round_ss(v347, v347, 9).f32[0],
0);
v350 = (__m128)v862.u32[0];
v350.f32[0] = (float)(v862.f32[0] / 55.0) * 100.0;
v352 = GameManager::sharedState(v349, "geometry.ach.coins10", v351);
GameManager::reportAchievementWithID(
v352,
"geometry.ach.coins11",
(unsigned int)(int)_mm_round_ss(v350, v350, 9).f32[0],
0);
v353 = (__m128)v862.u32[0];
v353.f32[0] = (float)(v862.f32[0] / 60.0) * 100.0;
v355 = GameManager::sharedState(v352, "geometry.ach.coins11", v354);
GameManager::reportAchievementWithID(
v355,
"geometry.ach.coins12",
(unsigned int)(int)_mm_round_ss(v353, v353, 9).f32[0],
0);
v356 = (__m128)v862.u32[0];
v356.f32[0] = (float)(v862.f32[0] / 65.0) * 100.0;
v358 = GameManager::sharedState(v355, "geometry.ach.coins12", v357);
GameManager::reportAchievementWithID(
v358,
"geometry.ach.coins13",
(unsigned int)(int)_mm_round_ss(v356, v356, 9).f32[0],
0);
v359 = (__m128)v862.u32[0];
v359.f32[0] = (float)(v862.f32[0] / 70.0) * 100.0;
v361 = GameManager::sharedState(v358, "geometry.ach.coins13", v360);
GameManager::reportAchievementWithID(
v361,
"geometry.ach.coins14",
(unsigned int)(int)_mm_round_ss(v359, v359, 9).f32[0],
0);
v362 = (__m128)v862.u32[0];
v362.f32[0] = (float)(v862.f32[0] / 75.0) * 100.0;
v364 = GameManager::sharedState(v361, "geometry.ach.coins14", v363);
GameManager::reportAchievementWithID(
v364,
"geometry.ach.coins15",
(unsigned int)(int)_mm_round_ss(v362, v362, 9).f32[0],
0);
v365 = (__m128)v862.u32[0];
v365.f32[0] = (float)(v862.f32[0] / 80.0) * 100.0;
v367 = GameManager::sharedState(v364, "geometry.ach.coins15", v366);
GameManager::reportAchievementWithID(
v367,
"geometry.ach.coins16",
(unsigned int)(int)_mm_round_ss(v365, v365, 9).f32[0],
0);
v368 = (__m128)v862.u32[0];
v368.f32[0] = (float)(v862.f32[0] / 85.0) * 100.0;
v370 = GameManager::sharedState(v367, "geometry.ach.coins16", v369);
GameManager::reportAchievementWithID(
v370,
"geometry.ach.coins17",
(unsigned int)(int)_mm_round_ss(v368, v368, 9).f32[0],
0);
v371 = (__m128)v862.u32[0];
v371.f32[0] = (float)(v862.f32[0] / 90.0) * 100.0;
v373 = GameManager::sharedState(v370, "geometry.ach.coins17", v372);
GameManager::reportAchievementWithID(
v373,
"geometry.ach.coins18",
(unsigned int)(int)_mm_round_ss(v371, v371, 9).f32[0],
0);
v374 = (__m128)v862.u32[0];
v374.f32[0] = (float)(v862.f32[0] / 95.0) * 100.0;
v376 = GameManager::sharedState(v373, "geometry.ach.coins18", v375);
GameManager::reportAchievementWithID(
v376,
"geometry.ach.coins19",
(unsigned int)(int)_mm_round_ss(v374, v374, 9).f32[0],
0);
v377 = (__m128)v862.u32[0];
v377.f32[0] = (float)(v862.f32[0] / 100.0) * 100.0;
v379 = GameManager::sharedState(v376, "geometry.ach.coins19", v378);
GameManager::reportAchievementWithID(
v379,
"geometry.ach.coins20",
(unsigned int)(int)_mm_round_ss(v377, v377, 9).f32[0],
0);
v380 = (__m128)v862.u32[0];
v380.f32[0] = (float)(v862.f32[0] / 105.0) * 100.0;
v382 = GameManager::sharedState(v379, "geometry.ach.coins20", v381);
GameManager::reportAchievementWithID(
v382,
"geometry.ach.coins21",
(unsigned int)(int)_mm_round_ss(v380, v380, 9).f32[0],
0);
v383 = (__m128)v862.u32[0];
v383.f32[0] = (float)(v862.f32[0] / 110.0) * 100.0;
v385 = GameManager::sharedState(v382, "geometry.ach.coins21", v384);
GameManager::reportAchievementWithID(
v385,
"geometry.ach.coins22",
(unsigned int)(int)_mm_round_ss(v383, v383, 9).f32[0],
0);
v386 = (__m128)v862.u32[0];
v386.f32[0] = (float)(v862.f32[0] / 115.0) * 100.0;
v388 = GameManager::sharedState(v385, "geometry.ach.coins22", v387);
GameManager::reportAchievementWithID(
v388,
"geometry.ach.coins23",
(unsigned int)(int)_mm_round_ss(v386, v386, 9).f32[0],
0);
v389 = (__m128)v862.u32[0];
v389.f32[0] = (float)(v862.f32[0] / 120.0) * 100.0;
v391 = GameManager::sharedState(v388, "geometry.ach.coins23", v390);
GameManager::reportAchievementWithID(
v391,
"geometry.ach.coins24",
(unsigned int)(int)_mm_round_ss(v389, v389, 9).f32[0],
0);
v392 = (__m128)v862.u32[0];
v392.f32[0] = (float)(v862.f32[0] / 130.0) * 100.0;
v394 = GameManager::sharedState(v391, "geometry.ach.coins24", v393);
GameManager::reportAchievementWithID(
v394,
"geometry.ach.coins25",
(unsigned int)(int)_mm_round_ss(v392, v392, 9).f32[0],
0);
v396 = (__m128)v862.u32[0];
v396.f32[0] = (float)(v862.f32[0] / 140.0) * 100.0;
v397 = GameManager::sharedState(v394, "geometry.ach.coins25", v395);
GameManager::reportAchievementWithID(
v397,
"geometry.ach.coins26",
(unsigned int)(int)_mm_round_ss(v396, v396, 9).f32[0],
0);
v399 = (__m128)v862.u32[0];
v399.f32[0] = (float)(v862.f32[0] / 150.0) * 100.0;
v400 = GameManager::sharedState(v397, "geometry.ach.coins26", v398);
GameManager::reportAchievementWithID(
v400,
"geometry.ach.coins27",
(unsigned int)(int)_mm_round_ss(v399, v399, 9).f32[0],
0);
v48 = GameManager::sharedState(v400, "geometry.ach.coins27", v401);
v402 = (__m128)v862.u32[0];
v402.f32[0] = (float)(v862.f32[0] / 160.0) * 100.0;
v50 = (unsigned int)(int)_mm_round_ss(v402, v402, 9).f32[0];
v51 = "geometry.ach.coins28";
goto LABEL_94;
case 9:
v147 = GameStatsManager::getStat(a1, a2, result);
if ( v147 > 0 )
{
v148 = GameManager::sharedState(a1, a2, v146);
a2 = "geometry.ach.secret01";
a1 = v148;
result = GameManager::reportAchievementWithID(v148, "geometry.ach.secret01", 100, 0);
}
result.f32[0] = (float)((float)v147 / 50.0) * 100.0;
v149 = GameManager::sharedState(a1, a2, v146);
GameManager::reportAchievementWithID(
v149,
"geometry.ach.secret02",
(unsigned int)(int)_mm_round_ss(result, result, 9).f32[0],
0);
v150 = (__m128)COERCE_UNSIGNED_INT((float)v147);
v150.f32[0] = (float)((float)v147 / 100.0) * 100.0;
v152 = GameManager::sharedState(v149, "geometry.ach.secret02", v151);
GameManager::reportAchievementWithID(
v152,
"geometry.ach.secret02b",
(unsigned int)(int)_mm_round_ss(v150, v150, 9).f32[0],
0);
v153 = (__m128)COERCE_UNSIGNED_INT((float)v147);
v153.f32[0] = (float)((float)v147 / 200.0) * 100.0;
v155 = GameManager::sharedState(v152, "geometry.ach.secret02b", v154);
GameManager::reportAchievementWithID(
v155,
"geometry.ach.secret03",
(unsigned int)(int)_mm_round_ss(v153, v153, 9).f32[0],
0);
v156 = (__m128)COERCE_UNSIGNED_INT((float)v147);
v156.f32[0] = (float)((float)v147 / 500.0) * 100.0;
v158 = GameManager::sharedState(v155, "geometry.ach.secret03", v157);
GameManager::reportAchievementWithID(
v158,
"geometry.ach.secret03b",
(unsigned int)(int)_mm_round_ss(v156, v156, 9).f32[0],
0);
v159 = (__m128)COERCE_UNSIGNED_INT((float)v147);
v159.f32[0] = (float)((float)v147 / 750.0) * 100.0;
v64 = (int)_mm_round_ss(v159, v159, 9).f32[0];
v66 = GameManager::sharedState(v158, "geometry.ach.secret03b", v160);
v51 = "geometry.ach.secret18";
goto LABEL_83;
case 10:
v862.f32[0] = (float)(int)GameStatsManager::getStat(a1, a2, result);
result.f32[0] = (float)(v862.f32[0] / 100.0) * 100.0;
v279 = GameManager::sharedState(a1, a2, v278);
GameManager::reportAchievementWithID(
v279,
"geometry.ach.like02",
(unsigned int)(int)_mm_round_ss(result, result, 9).f32[0],
0);
v280 = (__m128)v862.u32[0];
v280.f32[0] = (float)(v862.f32[0] / 500.0) * 100.0;
v282 = GameManager::sharedState(v279, "geometry.ach.like02", v281);
GameManager::reportAchievementWithID(
v282,
"geometry.ach.like02b",
(unsigned int)(int)_mm_round_ss(v280, v280, 9).f32[0],
0);
v283 = (__m128)v862.u32[0];
v283.f32[0] = (float)(v862.f32[0] / 1000.0) * 100.0;
v285 = GameManager::sharedState(v282, "geometry.ach.like02b", v284);
GameManager::reportAchievementWithID(
v285,
"geometry.ach.like03",
(unsigned int)(int)_mm_round_ss(v283, v283, 9).f32[0],
0);
v286 = (__m128)v862.u32[0];
v286.f32[0] = (float)(v862.f32[0] / 2000.0) * 100.0;
v288 = GameManager::sharedState(v285, "geometry.ach.like03", v287);
GameManager::reportAchievementWithID(
v288,
"geometry.ach.like04",
(unsigned int)(int)_mm_round_ss(v286, v286, 9).f32[0],
0);
v290 = (__m128)v862.u32[0];
v290.f32[0] = (float)(v862.f32[0] / 3000.0) * 100.0;
v291 = GameManager::sharedState(v288, "geometry.ach.like04", v289);
GameManager::reportAchievementWithID(
v291,
"geometry.ach.like05",
(unsigned int)(int)_mm_round_ss(v290, v290, 9).f32[0],
0);
v48 = GameManager::sharedState(v291, "geometry.ach.like05", v292);
v293 = (__m128)v862.u32[0];
v293.f32[0] = (float)(v862.f32[0] / 4000.0) * 100.0;
v50 = (unsigned int)(int)_mm_round_ss(v293, v293, 9).f32[0];
v51 = "geometry.ach.like06";
goto LABEL_94;
case 11:
v862.f32[0] = (float)(int)GameStatsManager::getStat(a1, a2, result);
result.f32[0] = (float)(v862.f32[0] / 100.0) * 100.0;
v56 = GameManager::sharedState(a1, a2, v55);
GameManager::reportAchievementWithID(
v56,
"geometry.ach.rateDiff02",
(unsigned int)(int)_mm_round_ss(result, result, 9).f32[0],
0);
v57 = (__m128)v862.u32[0];
v57.f32[0] = (float)(v862.f32[0] / 500.0) * 100.0;
v59 = GameManager::sharedState(v56, "geometry.ach.rateDiff02", v58);
GameManager::reportAchievementWithID(
v59,
"geometry.ach.rateDiff02b",
(unsigned int)(int)_mm_round_ss(v57, v57, 9).f32[0],
0);
v60 = (__m128)v862.u32[0];
v60.f32[0] = (float)(v862.f32[0] / 1000.0) * 100.0;
v62 = GameManager::sharedState(v59, "geometry.ach.rateDiff02b", v61);
GameManager::reportAchievementWithID(
v62,
"geometry.ach.rateDiff03",
(unsigned int)(int)_mm_round_ss(v60, v60, 9).f32[0],
0);
v63 = (__m128)v862.u32[0];
v63.f32[0] = (float)(v862.f32[0] / 2000.0) * 100.0;
v64 = (int)_mm_round_ss(v63, v63, 9).f32[0];
v66 = GameManager::sharedState(v62, "geometry.ach.rateDiff03", v65);
v51 = "geometry.ach.rateDiff04";
goto LABEL_83;
case 12:
v162 = GameStatsManager::getStat(a1, a2, result);
if ( v162 > 0 )
{
v163 = GameManager::sharedState(a1, a2, v161);
a2 = "geometry.ach.usercoins01";
a1 = v163;
result = GameManager::reportAchievementWithID(v163, "geometry.ach.usercoins01", 100, 0);
}
result.f32[0] = (float)((float)v162 / 10.0) * 100.0;
v164 = GameManager::sharedState(a1, a2, v161);
GameManager::reportAchievementWithID(
v164,
"geometry.ach.usercoins02",
(unsigned int)(int)_mm_round_ss(result, result, 9).f32[0],
0);
v165 = (__m128)COERCE_UNSIGNED_INT((float)v162);
v165.f32[0] = (float)((float)v162 / 20.0) * 100.0;
v167 = GameManager::sharedState(v164, "geometry.ach.usercoins02", v166);
GameManager::reportAchievementWithID(
v167,
"geometry.ach.usercoins03",
(unsigned int)(int)_mm_round_ss(v165, v165, 9).f32[0],
0);
v168 = (__m128)COERCE_UNSIGNED_INT((float)v162);
v168.f32[0] = (float)((float)v162 / 30.0) * 100.0;
v170 = GameManager::sharedState(v167, "geometry.ach.usercoins03", v169);
GameManager::reportAchievementWithID(
v170,
"geometry.ach.usercoins04",
(unsigned int)(int)_mm_round_ss(v168, v168, 9).f32[0],
0);
v171 = (__m128)COERCE_UNSIGNED_INT((float)v162);
v171.f32[0] = (float)((float)v162 / 40.0) * 100.0;
v173 = GameManager::sharedState(v170, "geometry.ach.usercoins04", v172);
GameManager::reportAchievementWithID(
v173,
"geometry.ach.usercoins05",
(unsigned int)(int)_mm_round_ss(v171, v171, 9).f32[0],
0);
v174 = (__m128)COERCE_UNSIGNED_INT((float)v162);
v174.f32[0] = (float)((float)v162 / 50.0) * 100.0;
v176 = GameManager::sharedState(v173, "geometry.ach.usercoins05", v175);
GameManager::reportAchievementWithID(
v176,
"geometry.ach.usercoins06",
(unsigned int)(int)_mm_round_ss(v174, v174, 9).f32[0],
0);
v177 = (__m128)COERCE_UNSIGNED_INT((float)v162);
v177.f32[0] = (float)((float)v162 / 60.0) * 100.0;
v179 = GameManager::sharedState(v176, "geometry.ach.usercoins06", v178);
GameManager::reportAchievementWithID(
v179,
"geometry.ach.usercoins07",
(unsigned int)(int)_mm_round_ss(v177, v177, 9).f32[0],
0);
v180 = (__m128)COERCE_UNSIGNED_INT((float)v162);
v180.f32[0] = (float)((float)v162 / 70.0) * 100.0;
v182 = GameManager::sharedState(v179, "geometry.ach.usercoins07", v181);
GameManager::reportAchievementWithID(
v182,
"geometry.ach.usercoins08",
(unsigned int)(int)_mm_round_ss(v180, v180, 9).f32[0],
0);
v183 = (__m128)COERCE_UNSIGNED_INT((float)v162);
v183.f32[0] = (float)((float)v162 / 80.0) * 100.0;
v185 = GameManager::sharedState(v182, "geometry.ach.usercoins08", v184);
GameManager::reportAchievementWithID(
v185,
"geometry.ach.usercoins09",
(unsigned int)(int)_mm_round_ss(v183, v183, 9).f32[0],
0);
v186 = (__m128)COERCE_UNSIGNED_INT((float)v162);
v186.f32[0] = (float)((float)v162 / 90.0) * 100.0;
v188 = GameManager::sharedState(v185, "geometry.ach.usercoins09", v187);
GameManager::reportAchievementWithID(
v188,
"geometry.ach.usercoins10",
(unsigned int)(int)_mm_round_ss(v186, v186, 9).f32[0],
0);
v189 = (__m128)COERCE_UNSIGNED_INT((float)v162);
v189.f32[0] = (float)((float)v162 / 100.0) * 100.0;
v191 = GameManager::sharedState(v188, "geometry.ach.usercoins10", v190);
GameManager::reportAchievementWithID(
v191,
"geometry.ach.usercoins11",
(unsigned int)(int)_mm_round_ss(v189, v189, 9).f32[0],
0);
v192 = (__m128)COERCE_UNSIGNED_INT((float)v162);
v192.f32[0] = (float)((float)v162 / 110.0) * 100.0;
v194 = GameManager::sharedState(v191, "geometry.ach.usercoins11", v193);
GameManager::reportAchievementWithID(
v194,
"geometry.ach.usercoins12",
(unsigned int)(int)_mm_round_ss(v192, v192, 9).f32[0],
0);
v195 = (__m128)COERCE_UNSIGNED_INT((float)v162);
v195.f32[0] = (float)((float)v162 / 120.0) * 100.0;
v197 = GameManager::sharedState(v194, "geometry.ach.usercoins12", v196);
GameManager::reportAchievementWithID(
v197,
"geometry.ach.usercoins13",
(unsigned int)(int)_mm_round_ss(v195, v195, 9).f32[0],
0);
v198 = (__m128)COERCE_UNSIGNED_INT((float)v162);
v198.f32[0] = (float)((float)v162 / 130.0) * 100.0;
v200 = GameManager::sharedState(v197, "geometry.ach.usercoins13", v199);
GameManager::reportAchievementWithID(
v200,
"geometry.ach.usercoins14",
(unsigned int)(int)_mm_round_ss(v198, v198, 9).f32[0],
0);
v201 = (__m128)COERCE_UNSIGNED_INT((float)v162);
v201.f32[0] = (float)((float)v162 / 140.0) * 100.0;
v203 = GameManager::sharedState(v200, "geometry.ach.usercoins14", v202);
GameManager::reportAchievementWithID(
v203,
"geometry.ach.usercoins15",
(unsigned int)(int)_mm_round_ss(v201, v201, 9).f32[0],
0);
v204 = (__m128)COERCE_UNSIGNED_INT((float)v162);
v204.f32[0] = (float)((float)v162 / 150.0) * 100.0;
v206 = GameManager::sharedState(v203, "geometry.ach.usercoins15", v205);
GameManager::reportAchievementWithID(
v206,
"geometry.ach.usercoins16",
(unsigned int)(int)_mm_round_ss(v204, v204, 9).f32[0],
0);
v207 = (__m128)COERCE_UNSIGNED_INT((float)v162);
v207.f32[0] = (float)((float)v162 / 160.0) * 100.0;
v209 = GameManager::sharedState(v206, "geometry.ach.usercoins16", v208);
GameManager::reportAchievementWithID(
v209,
"geometry.ach.usercoins17",
(unsigned int)(int)_mm_round_ss(v207, v207, 9).f32[0],
0);
v210 = (__m128)COERCE_UNSIGNED_INT((float)v162);
v210.f32[0] = (float)((float)v162 / 170.0) * 100.0;
v212 = GameManager::sharedState(v209, "geometry.ach.usercoins17", v211);
GameManager::reportAchievementWithID(
v212,
"geometry.ach.usercoins18",
(unsigned int)(int)_mm_round_ss(v210, v210, 9).f32[0],
0);
v213 = (__m128)COERCE_UNSIGNED_INT((float)v162);
v213.f32[0] = (float)((float)v162 / 180.0) * 100.0;
v215 = GameManager::sharedState(v212, "geometry.ach.usercoins18", v214);
GameManager::reportAchievementWithID(
v215,
"geometry.ach.usercoins19",
(unsigned int)(int)_mm_round_ss(v213, v213, 9).f32[0],
0);
v216 = (__m128)COERCE_UNSIGNED_INT((float)v162);
v216.f32[0] = (float)((float)v162 / 190.0) * 100.0;
v218 = GameManager::sharedState(v215, "geometry.ach.usercoins19", v217);
GameManager::reportAchievementWithID(
v218,
"geometry.ach.usercoins20",
(unsigned int)(int)_mm_round_ss(v216, v216, 9).f32[0],
0);
v219 = (__m128)COERCE_UNSIGNED_INT((float)v162);
v219.f32[0] = (float)((float)v162 / 200.0) * 100.0;
v221 = GameManager::sharedState(v218, "geometry.ach.usercoins20", v220);
GameManager::reportAchievementWithID(
v221,
"geometry.ach.usercoins21",
(unsigned int)(int)_mm_round_ss(v219, v219, 9).f32[0],
0);
v222 = (__m128)COERCE_UNSIGNED_INT((float)v162);
v222.f32[0] = (float)((float)v162 / 225.0) * 100.0;
v224 = GameManager::sharedState(v221, "geometry.ach.usercoins21", v223);
GameManager::reportAchievementWithID(
v224,
"geometry.ach.usercoins22",
(unsigned int)(int)_mm_round_ss(v222, v222, 9).f32[0],
0);
v225 = (__m128)COERCE_UNSIGNED_INT((float)v162);
v225.f32[0] = (float)((float)v162 / 250.0) * 100.0;
v227 = GameManager::sharedState(v224, "geometry.ach.usercoins22", v226);
GameManager::reportAchievementWithID(
v227,
"geometry.ach.usercoins23",
(unsigned int)(int)_mm_round_ss(v225, v225, 9).f32[0],
0);
v228 = (__m128)COERCE_UNSIGNED_INT((float)v162);
v228.f32[0] = (float)((float)v162 / 300.0) * 100.0;
v230 = GameManager::sharedState(v227, "geometry.ach.usercoins23", v229);
GameManager::reportAchievementWithID(
v230,
"geometry.ach.usercoins24",
(unsigned int)(int)_mm_round_ss(v228, v228, 9).f32[0],
0);
v231 = (__m128)COERCE_UNSIGNED_INT((float)v162);
v231.f32[0] = (float)((float)v162 / 350.0) * 100.0;
v233 = GameManager::sharedState(v230, "geometry.ach.usercoins24", v232);
GameManager::reportAchievementWithID(
v233,
"geometry.ach.usercoins25",
(unsigned int)(int)_mm_round_ss(v231, v231, 9).f32[0],
0);
v234 = (__m128)COERCE_UNSIGNED_INT((float)v162);
v234.f32[0] = (float)((float)v162 / 425.0) * 100.0;
v236 = GameManager::sharedState(v233, "geometry.ach.usercoins25", v235);
GameManager::reportAchievementWithID(
v236,
"geometry.ach.usercoins26",
(unsigned int)(int)_mm_round_ss(v234, v234, 9).f32[0],
0);
v237 = (__m128)COERCE_UNSIGNED_INT((float)v162);
v237.f32[0] = (float)((float)v162 / 500.0) * 100.0;
v239 = GameManager::sharedState(v236, "geometry.ach.usercoins26", v238);
GameManager::reportAchievementWithID(
v239,
"geometry.ach.usercoins27",
(unsigned int)(int)_mm_round_ss(v237, v237, 9).f32[0],
0);
v240 = (__m128)COERCE_UNSIGNED_INT((float)v162);
v240.f32[0] = (float)((float)v162 / 600.0) * 100.0;
v242 = GameManager::sharedState(v239, "geometry.ach.usercoins27", v241);
GameManager::reportAchievementWithID(
v242,
"geometry.ach.usercoins28",
(unsigned int)(int)_mm_round_ss(v240, v240, 9).f32[0],
0);
v243 = (__m128)COERCE_UNSIGNED_INT((float)v162);
v243.f32[0] = (float)((float)v162 / 700.0) * 100.0;
v245 = GameManager::sharedState(v242, "geometry.ach.usercoins28", v244);
GameManager::reportAchievementWithID(
v245,
"geometry.ach.usercoins29",
(unsigned int)(int)_mm_round_ss(v243, v243, 9).f32[0],
0);
v246 = (__m128)COERCE_UNSIGNED_INT((float)v162);
v246.f32[0] = (float)((float)v162 / 800.0) * 100.0;
v248 = GameManager::sharedState(v245, "geometry.ach.usercoins29", v247);
GameManager::reportAchievementWithID(
v248,
"geometry.ach.usercoins30",
(unsigned int)(int)_mm_round_ss(v246, v246, 9).f32[0],
0);
v249 = (__m128)COERCE_UNSIGNED_INT((float)v162);
v249.f32[0] = (float)((float)v162 / 900.0) * 100.0;
v251 = GameManager::sharedState(v248, "geometry.ach.usercoins30", v250);
GameManager::reportAchievementWithID(
v251,
"geometry.ach.usercoins31",
(unsigned int)(int)_mm_round_ss(v249, v249, 9).f32[0],
0);
v252 = (__m128)COERCE_UNSIGNED_INT((float)v162);
v252.f32[0] = (float)((float)v162 / 1000.0) * 100.0;
v254 = GameManager::sharedState(v251, "geometry.ach.usercoins31", v253);
GameManager::reportAchievementWithID(
v254,
"geometry.ach.usercoins32",
(unsigned int)(int)_mm_round_ss(v252, v252, 9).f32[0],
0);
v256 = (__m128)COERCE_UNSIGNED_INT((float)v162);
v256.f32[0] = (float)((float)v162 / 1200.0) * 100.0;
v257 = GameManager::sharedState(v254, "geometry.ach.usercoins32", v255);
GameManager::reportAchievementWithID(
v257,
"geometry.ach.usercoins33",
(unsigned int)(int)_mm_round_ss(v256, v256, 9).f32[0],
0);
v259 = (__m128)COERCE_UNSIGNED_INT((float)v162);
v259.f32[0] = (float)((float)v162 / 1400.0) * 100.0;
v260 = GameManager::sharedState(v257, "geometry.ach.usercoins33", v258);
GameManager::reportAchievementWithID(
v260,
"geometry.ach.usercoins34",
(unsigned int)(int)_mm_round_ss(v259, v259, 9).f32[0],
0);
v262 = (__m128)COERCE_UNSIGNED_INT((float)v162);
v262.f32[0] = (float)((float)v162 / 1600.0) * 100.0;
v263 = GameManager::sharedState(v260, "geometry.ach.usercoins34", v261);
GameManager::reportAchievementWithID(
v263,
"geometry.ach.usercoins35",
(unsigned int)(int)_mm_round_ss(v262, v262, 9).f32[0],
0);
v265 = (__m128)COERCE_UNSIGNED_INT((float)v162);
v265.f32[0] = (float)((float)v162 / 1800.0) * 100.0;
v266 = GameManager::sharedState(v263, "geometry.ach.usercoins35", v264);
GameManager::reportAchievementWithID(
v266,
"geometry.ach.usercoins36",
(unsigned int)(int)_mm_round_ss(v265, v265, 9).f32[0],
0);
v268 = (__m128)COERCE_UNSIGNED_INT((float)v162);
v268.f32[0] = (float)((float)v162 / 2000.0) * 100.0;
v269 = GameManager::sharedState(v266, "geometry.ach.usercoins36", v267);
GameManager::reportAchievementWithID(
v269,
"geometry.ach.usercoins37",
(unsigned int)(int)_mm_round_ss(v268, v268, 9).f32[0],
0);
v271 = (__m128)COERCE_UNSIGNED_INT((float)v162);
v271.f32[0] = (float)((float)v162 / 2300.0) * 100.0;
v272 = GameManager::sharedState(v269, "geometry.ach.usercoins37", v270);
GameManager::reportAchievementWithID(
v272,
"geometry.ach.usercoins38",
(unsigned int)(int)_mm_round_ss(v271, v271, 9).f32[0],
0);
v274 = (__m128)COERCE_UNSIGNED_INT((float)v162);
v274.f32[0] = (float)((float)v162 / 2600.0) * 100.0;
v275 = GameManager::sharedState(v272, "geometry.ach.usercoins38", v273);
GameManager::reportAchievementWithID(
v275,
"geometry.ach.usercoins39",
(unsigned int)(int)_mm_round_ss(v274, v274, 9).f32[0],
0);
v48 = GameManager::sharedState(v275, "geometry.ach.usercoins39", v276);
v277 = (__m128)COERCE_UNSIGNED_INT((float)v162);
v277.f32[0] = (float)((float)v162 / 3000.0) * 100.0;
v50 = (unsigned int)(int)_mm_round_ss(v277, v277, 9).f32[0];
v51 = "geometry.ach.usercoins40";
goto LABEL_94;
case 13:
v862.f32[0] = (float)(int)GameStatsManager::getStat(a1, a2, result);
result.f32[0] = (float)(v862.f32[0] / 100.0) * 100.0;
v522 = GameManager::sharedState(a1, a2, v521);
GameManager::reportAchievementWithID(
v522,
"geometry.ach.diamonds01",
(unsigned int)(int)_mm_round_ss(result, result, 9).f32[0],
0);
v523 = (__m128)v862.u32[0];
v523.f32[0] = (float)(v862.f32[0] / 250.0) * 100.0;
v525 = GameManager::sharedState(v522, "geometry.ach.diamonds01", v524);
GameManager::reportAchievementWithID(
v525,
"geometry.ach.diamonds02",
(unsigned int)(int)_mm_round_ss(v523, v523, 9).f32[0],
0);
v526 = (__m128)v862.u32[0];
v526.f32[0] = (float)(v862.f32[0] / 500.0) * 100.0;
v528 = GameManager::sharedState(v525, "geometry.ach.diamonds02", v527);
GameManager::reportAchievementWithID(
v528,
"geometry.ach.diamonds03",
(unsigned int)(int)_mm_round_ss(v526, v526, 9).f32[0],
0);
v529 = (__m128)v862.u32[0];
v529.f32[0] = (float)(v862.f32[0] / 1000.0) * 100.0;
v531 = GameManager::sharedState(v528, "geometry.ach.diamonds03", v530);
GameManager::reportAchievementWithID(
v531,
"geometry.ach.diamonds04",
(unsigned int)(int)_mm_round_ss(v529, v529, 9).f32[0],
0);
v532 = (__m128)v862.u32[0];
v532.f32[0] = (float)(v862.f32[0] / 1500.0) * 100.0;
v534 = GameManager::sharedState(v531, "geometry.ach.diamonds04", v533);
GameManager::reportAchievementWithID(
v534,
"geometry.ach.diamonds05",
(unsigned int)(int)_mm_round_ss(v532, v532, 9).f32[0],
0);
v535 = (__m128)v862.u32[0];
v535.f32[0] = (float)(v862.f32[0] / 2000.0) * 100.0;
v537 = GameManager::sharedState(v534, "geometry.ach.diamonds05", v536);
GameManager::reportAchievementWithID(
v537,
"geometry.ach.diamonds06",
(unsigned int)(int)_mm_round_ss(v535, v535, 9).f32[0],
0);
v538 = (__m128)v862.u32[0];
v538.f32[0] = (float)(v862.f32[0] / 2500.0) * 100.0;
v540 = GameManager::sharedState(v537, "geometry.ach.diamonds06", v539);
GameManager::reportAchievementWithID(
v540,
"geometry.ach.diamonds07",
(unsigned int)(int)_mm_round_ss(v538, v538, 9).f32[0],
0);
v541 = (__m128)v862.u32[0];
v541.f32[0] = (float)(v862.f32[0] / 3000.0) * 100.0;
v543 = GameManager::sharedState(v540, "geometry.ach.diamonds07", v542);
GameManager::reportAchievementWithID(
v543,
"geometry.ach.diamonds08",
(unsigned int)(int)_mm_round_ss(v541, v541, 9).f32[0],
0);
v544 = (__m128)v862.u32[0];
v544.f32[0] = (float)(v862.f32[0] / 4000.0) * 100.0;
v546 = GameManager::sharedState(v543, "geometry.ach.diamonds08", v545);
GameManager::reportAchievementWithID(
v546,
"geometry.ach.diamonds09",
(unsigned int)(int)_mm_round_ss(v544, v544, 9).f32[0],
0);
v547 = (__m128)v862.u32[0];
v547.f32[0] = (float)(v862.f32[0] / 5000.0) * 100.0;
v549 = GameManager::sharedState(v546, "geometry.ach.diamonds09", v548);
GameManager::reportAchievementWithID(
v549,
"geometry.ach.diamonds10",
(unsigned int)(int)_mm_round_ss(v547, v547, 9).f32[0],
0);
v551 = (__m128)v862.u32[0];
v551.f32[0] = (float)(v862.f32[0] / 6000.0) * 100.0;
v552 = GameManager::sharedState(v549, "geometry.ach.diamonds10", v550);
GameManager::reportAchievementWithID(
v552,
"geometry.ach.diamonds11",
(unsigned int)(int)_mm_round_ss(v551, v551, 9).f32[0],
0);
v554 = (__m128)v862.u32[0];
v554.f32[0] = (float)(v862.f32[0] / 7000.0) * 100.0;
v555 = GameManager::sharedState(v552, "geometry.ach.diamonds11", v553);
GameManager::reportAchievementWithID(
v555,
"geometry.ach.diamonds12",
(unsigned int)(int)_mm_round_ss(v554, v554, 9).f32[0],
0);
v557 = (__m128)v862.u32[0];
v557.f32[0] = (float)(v862.f32[0] / 9000.0) * 100.0;
v558 = GameManager::sharedState(v555, "geometry.ach.diamonds12", v556);
GameManager::reportAchievementWithID(
v558,
"geometry.ach.diamonds13",
(unsigned int)(int)_mm_round_ss(v557, v557, 9).f32[0],
0);
v560 = (__m128)v862.u32[0];
v560.f32[0] = (float)(v862.f32[0] / 11000.0) * 100.0;
v561 = GameManager::sharedState(v558, "geometry.ach.diamonds13", v559);
GameManager::reportAchievementWithID(
v561,
"geometry.ach.diamonds14",
(unsigned int)(int)_mm_round_ss(v560, v560, 9).f32[0],
0);
v563 = (__m128)v862.u32[0];
v563.f32[0] = (float)(v862.f32[0] / 14000.0) * 100.0;
v564 = GameManager::sharedState(v561, "geometry.ach.diamonds14", v562);
GameManager::reportAchievementWithID(
v564,
"geometry.ach.diamonds15",
(unsigned int)(int)_mm_round_ss(v563, v563, 9).f32[0],
0);
v566 = (__m128)v862.u32[0];
v566.f32[0] = (float)(v862.f32[0] / 17000.0) * 100.0;
v567 = GameManager::sharedState(v564, "geometry.ach.diamonds15", v565);
GameManager::reportAchievementWithID(
v567,
"geometry.ach.diamonds16",
(unsigned int)(int)_mm_round_ss(v566, v566, 9).f32[0],
0);
v569 = (__m128)v862.u32[0];
v569.f32[0] = (float)(v862.f32[0] / 20000.0) * 100.0;
v570 = GameManager::sharedState(v567, "geometry.ach.diamonds16", v568);
GameManager::reportAchievementWithID(
v570,
"geometry.ach.diamonds17",
(unsigned int)(int)_mm_round_ss(v569, v569, 9).f32[0],
0);
v48 = GameManager::sharedState(v570, "geometry.ach.diamonds17", v571);
v572 = (__m128)v862.u32[0];
v572.f32[0] = (float)(v862.f32[0] / 25000.0) * 100.0;
v50 = (unsigned int)(int)_mm_round_ss(v572, v572, 9).f32[0];
v51 = "geometry.ach.diamonds18";
goto LABEL_94;
case 15:
v501 = GameStatsManager::getStat(a1, a2, result);
if ( v501 > 0 )
{
v502 = GameManager::sharedState(a1, a2, v500);
a2 = "geometry.ach.daily01";
a1 = v502;
result = GameManager::reportAchievementWithID(v502, "geometry.ach.daily01", 100, 0);
}
result.f32[0] = (float)((float)v501 / 25.0) * 100.0;
v503 = GameManager::sharedState(a1, a2, v500);
GameManager::reportAchievementWithID(
v503,
"geometry.ach.daily02",
(unsigned int)(int)_mm_round_ss(result, result, 9).f32[0],
0);
v505 = (__m128)COERCE_UNSIGNED_INT((float)v501);
v505.f32[0] = (float)((float)v501 / 50.0) * 100.0;
v506 = GameManager::sharedState(v503, "geometry.ach.daily02", v504);
GameManager::reportAchievementWithID(
v506,
"geometry.ach.daily03",
(unsigned int)(int)_mm_round_ss(v505, v505, 9).f32[0],
0);
v508 = (__m128)COERCE_UNSIGNED_INT((float)v501);
v508.f32[0] = (float)((float)v501 / 100.0) * 100.0;
v509 = GameManager::sharedState(v506, "geometry.ach.daily03", v507);
GameManager::reportAchievementWithID(
v509,
"geometry.ach.daily04",
(unsigned int)(int)_mm_round_ss(v508, v508, 9).f32[0],
0);
v511 = (__m128)COERCE_UNSIGNED_INT((float)v501);
v511.f32[0] = (float)((float)v501 / 150.0) * 100.0;
v512 = GameManager::sharedState(v509, "geometry.ach.daily04", v510);
GameManager::reportAchievementWithID(
v512,
"geometry.ach.daily05",
(unsigned int)(int)_mm_round_ss(v511, v511, 9).f32[0],
0);
v514 = (__m128)COERCE_UNSIGNED_INT((float)v501);
v514.f32[0] = (float)((float)v501 / 250.0) * 100.0;
v515 = GameManager::sharedState(v512, "geometry.ach.daily05", v513);
GameManager::reportAchievementWithID(
v515,
"geometry.ach.daily06",
(unsigned int)(int)_mm_round_ss(v514, v514, 9).f32[0],
0);
v48 = GameManager::sharedState(v515, "geometry.ach.daily06", v516);
v517 = (__m128)COERCE_UNSIGNED_INT((float)v501);
v517.f32[0] = (float)((float)v501 / 365.0) * 100.0;
v50 = (unsigned int)(int)_mm_round_ss(v517, v517, 9).f32[0];
v51 = "geometry.ach.daily07";
goto LABEL_94;
case 16:
v862.i64[0] = (__int64)"geometry.ach.shardShadow05";
v860.i64[0] = (__int64)"geometry.ach.shardShadow04";
v861 = "geometry.ach.shardShadow03";
v67 = "geometry.ach.shardShadow02";
v68 = "geometry.ach.shardShadow01";
goto LABEL_74;
case 17:
v862.i64[0] = (__int64)"geometry.ach.shardPoison05";
v860.i64[0] = (__int64)"geometry.ach.shardPoison04";
v861 = "geometry.ach.shardPoison03";
v67 = "geometry.ach.shardPoison02";
v68 = "geometry.ach.shardPoison01";
goto LABEL_74;
case 18:
v862.i64[0] = (__int64)"geometry.ach.shardFire05";
v860.i64[0] = (__int64)"geometry.ach.shardFire04";
v861 = "geometry.ach.shardFire03";
v67 = "geometry.ach.shardFire02";
v68 = "geometry.ach.shardFire01";
goto LABEL_74;
case 19:
v862.i64[0] = (__int64)"geometry.ach.shardIce05";
v860.i64[0] = (__int64)"geometry.ach.shardIce04";
v861 = "geometry.ach.shardIce03";
v67 = "geometry.ach.shardIce02";
v68 = "geometry.ach.shardIce01";
goto LABEL_74;
case 20:
v862.i64[0] = (__int64)"geometry.ach.shardLava05";
v860.i64[0] = (__int64)"geometry.ach.shardLava04";
v861 = "geometry.ach.shardLava03";
v67 = "geometry.ach.shardLava02";
v68 = "geometry.ach.shardLava01";
LABEL_74:
v775 = GameStatsManager::getStat(a1, a2, result);
result.f32[0] = (float)(v775 / 5) * 100.0;
v777 = GameManager::sharedState(a1, a2, v776);
GameManager::reportAchievementWithID(v777, v68, (unsigned int)(int)_mm_round_ss(result, result, 9).f32[0], 0);
v778 = 0;
v778.f32[0] = (float)(v775 / 15) * 100.0;
v780 = GameManager::sharedState(v777, v68, v779);
GameManager::reportAchievementWithID(v780, v67, (unsigned int)(int)_mm_round_ss(v778, v778, 9).f32[0], 0);
v781 = 0;
v781.f32[0] = (float)(v775 / 35) * 100.0;
v783 = GameManager::sharedState(v780, v67, v782);
GameManager::reportAchievementWithID(v783, v861, (unsigned int)(int)_mm_round_ss(v781, v781, 9).f32[0], 0);
v784 = 0;
v784.f32[0] = (float)(v775 / 65) * 100.0;
v786 = GameManager::sharedState(v783, v861, v785);
GameManager::reportAchievementWithID(v786, v860.i64[0], (unsigned int)(int)_mm_round_ss(v784, v784, 9).f32[0], 0);
v787 = 0;
v787.f32[0] = (float)(v775 / 100) * 100.0;
v789 = GameManager::sharedState(v786, v860.i64[0], v788);
v790 = GameManager::reportAchievementWithID(
v789,
v862.i64[0],
(unsigned int)(int)_mm_round_ss(v787, v787, 9).f32[0],
0);
v791 = GameStatsManager::getStat(v3, "18", v790);
if ( v791 > (int)GameStatsManager::getStat(v3, "19", v790) )
v791 = GameStatsManager::getStat(v3, "19", v790);
if ( v791 > (int)GameStatsManager::getStat(v3, "17", v790) )
v791 = GameStatsManager::getStat(v3, "17", v790);
if ( v791 > (int)GameStatsManager::getStat(v3, "16", v790) )
v791 = GameStatsManager::getStat(v3, "16", v790);
v792 = v3;
if ( v791 > (int)GameStatsManager::getStat(v3, "20", v790) )
{
v792 = v3;
v791 = GameStatsManager::getStat(v3, "20", v790);
}
v794 = 0;
v794.f32[0] = (float)(v791 / 5) * 100.0;
v795 = GameManager::sharedState(v792, "20", v793);
GameManager::reportAchievementWithID(
v795,
"geometry.ach.shardBonus01",
(unsigned int)(int)_mm_round_ss(v794, v794, 9).f32[0],
0);
v796 = 0;
v796.f32[0] = (float)(v791 / 15) * 100.0;
v798 = GameManager::sharedState(v795, "geometry.ach.shardBonus01", v797);
GameManager::reportAchievementWithID(
v798,
"geometry.ach.shardBonus02",
(unsigned int)(int)_mm_round_ss(v796, v796, 9).f32[0],
0);
v799 = 0;
v799.f32[0] = (float)(v791 / 35) * 100.0;
v801 = GameManager::sharedState(v798, "geometry.ach.shardBonus02", v800);
GameManager::reportAchievementWithID(
v801,
"geometry.ach.shardBonus03",
(unsigned int)(int)_mm_round_ss(v799, v799, 9).f32[0],
0);
v802 = 0;
v802.f32[0] = (float)(v791 / 65) * 100.0;
v804 = GameManager::sharedState(v801, "geometry.ach.shardBonus03", v803);
GameManager::reportAchievementWithID(
v804,
"geometry.ach.shardBonus04",
(unsigned int)(int)_mm_round_ss(v802, v802, 9).f32[0],
0);
v805 = 0;
v805.f32[0] = (float)(v791 / 100) * 100.0;
v64 = (int)_mm_round_ss(v805, v805, 9).f32[0];
v66 = GameManager::sharedState(v804, "geometry.ach.shardBonus04", v806);
v51 = "geometry.ach.shardBonus05";
LABEL_83:
v520 = v66;
v50 = v64;
return GameManager::reportAchievementWithID(v520, v51, v50, 0);
case 23:
v860.i64[0] = (__int64)"geometry.ach.shardEarth05";
v861 = "geometry.ach.shardEarth04";
v52 = "geometry.ach.shardEarth03";
v53 = "geometry.ach.shardEarth02";
v54 = "geometry.ach.shardEarth01";
goto LABEL_85;
case 24:
v860.i64[0] = (__int64)"geometry.ach.shardBlood05";
v861 = "geometry.ach.shardBlood04";
v52 = "geometry.ach.shardBlood03";
v53 = "geometry.ach.shardBlood02";
v54 = "geometry.ach.shardBlood01";
goto LABEL_85;
case 25:
v860.i64[0] = (__int64)"geometry.ach.shardMetal05";
v861 = "geometry.ach.shardMetal04";
v52 = "geometry.ach.shardMetal03";
v53 = "geometry.ach.shardMetal02";
v54 = "geometry.ach.shardMetal01";
goto LABEL_85;
case 26:
v860.i64[0] = (__int64)"geometry.ach.shardLight05";
v861 = "geometry.ach.shardLight04";
v52 = "geometry.ach.shardLight03";
v53 = "geometry.ach.shardLight02";
v54 = "geometry.ach.shardLight01";
goto LABEL_85;
case 27:
v860.i64[0] = (__int64)"geometry.ach.shardSoul05";
v861 = "geometry.ach.shardSoul04";
v52 = "geometry.ach.shardSoul03";
v53 = "geometry.ach.shardSoul02";
v54 = "geometry.ach.shardSoul01";
LABEL_85:
v807 = GameStatsManager::getStat(a1, a2, result);
result.f32[0] = (float)((float)v807 / 5.0) * 100.0;
v809 = GameManager::sharedState(a1, a2, v808);
GameManager::reportAchievementWithID(v809, v54, (unsigned int)(int)_mm_round_ss(result, result, 9).f32[0], 0);
v811 = (__m128)COERCE_UNSIGNED_INT((float)v807);
v811.f32[0] = (float)((float)v807 / 15.0) * 100.0;
v812 = GameManager::sharedState(v809, v54, v810);
GameManager::reportAchievementWithID(v812, v53, (unsigned int)(int)_mm_round_ss(v811, v811, 9).f32[0], 0);
v814 = (__m128)COERCE_UNSIGNED_INT((float)v807);
v814.f32[0] = (float)((float)v807 / 35.0) * 100.0;
v815 = GameManager::sharedState(v812, v53, v813);
GameManager::reportAchievementWithID(v815, v52, (unsigned int)(int)_mm_round_ss(v814, v814, 9).f32[0], 0);
v817 = (__m128)COERCE_UNSIGNED_INT((float)v807);
v817.f32[0] = (float)((float)v807 / 65.0) * 100.0;
v818 = GameManager::sharedState(v815, v52, v816);
GameManager::reportAchievementWithID(v818, v861, (unsigned int)(int)_mm_round_ss(v817, v817, 9).f32[0], 0);
v820 = GameManager::sharedState(v818, v861, v819);
v821 = (__m128)COERCE_UNSIGNED_INT((float)v807);
v821.f32[0] = (float)((float)v807 / 100.0) * 100.0;
v822 = GameManager::reportAchievementWithID(
v820,
v860.i64[0],
(unsigned int)(int)_mm_round_ss(v821, v821, 9).f32[0],
0);
v823 = GameStatsManager::getStat(v3, "23", v822);
if ( v823 > (int)GameStatsManager::getStat(v3, "24", v822) )
v823 = GameStatsManager::getStat(v3, "24", v822);
if ( v823 > (int)GameStatsManager::getStat(v3, "25", v822) )
v823 = GameStatsManager::getStat(v3, "25", v822);
if ( v823 > (int)GameStatsManager::getStat(v3, "26", v822) )
v823 = GameStatsManager::getStat(v3, "26", v822);
v824 = v3;
if ( v823 > (int)GameStatsManager::getStat(v3, "27", v822) )
{
v824 = v3;
v823 = GameStatsManager::getStat(v3, "27", v822);
}
v826 = 0;
v826.f32[0] = (float)((float)v823 / 5.0) * 100.0;
v827 = GameManager::sharedState(v824, "27", v825);
GameManager::reportAchievementWithID(
v827,
"geometry.ach.shardBonusB01",
(unsigned int)(int)_mm_round_ss(v826, v826, 9).f32[0],
0);
v829 = (__m128)COERCE_UNSIGNED_INT((float)v823);
v829.f32[0] = (float)((float)v823 / 15.0) * 100.0;
v830 = GameManager::sharedState(v827, "geometry.ach.shardBonusB01", v828);
GameManager::reportAchievementWithID(
v830,
"geometry.ach.shardBonusB02",
(unsigned int)(int)_mm_round_ss(v829, v829, 9).f32[0],
0);
v832 = (__m128)COERCE_UNSIGNED_INT((float)v823);
v832.f32[0] = (float)((float)v823 / 35.0) * 100.0;
v833 = GameManager::sharedState(v830, "geometry.ach.shardBonusB02", v831);
GameManager::reportAchievementWithID(
v833,
"geometry.ach.shardBonusB03",
(unsigned int)(int)_mm_round_ss(v832, v832, 9).f32[0],
0);
v835 = (__m128)COERCE_UNSIGNED_INT((float)v823);
v835.f32[0] = (float)((float)v823 / 65.0) * 100.0;
v836 = GameManager::sharedState(v833, "geometry.ach.shardBonusB03", v834);
GameManager::reportAchievementWithID(
v836,
"geometry.ach.shardBonusB04",
(unsigned int)(int)_mm_round_ss(v835, v835, 9).f32[0],
0);
v48 = GameManager::sharedState(v836, "geometry.ach.shardBonusB04", v837);
v838 = (__m128)COERCE_UNSIGNED_INT((float)v823);
v838.f32[0] = (float)((float)v823 / 100.0) * 100.0;
v50 = (unsigned int)(int)_mm_round_ss(v838, v838, 9).f32[0];
v51 = "geometry.ach.shardBonusB05";
goto LABEL_94;
case 28:
v862.f32[0] = (float)(int)GameStatsManager::getStat(a1, a2, result);
v70 = (__m128)v862.u32[0];
v70.f32[0] = (float)(v862.f32[0] / 100.0) * 100.0;
v71 = GameManager::sharedState(a1, a2, v69);
GameManager::reportAchievementWithID(
v71,
"geometry.ach.moons01",
(unsigned int)(int)_mm_round_ss(v70, v70, 9).f32[0],
0);
v73 = (__m128)v862.u32[0];
v73.f32[0] = (float)(v862.f32[0] / 200.0) * 100.0;
v74 = GameManager::sharedState(v71, "geometry.ach.moons01", v72);
GameManager::reportAchievementWithID(
v74,
"geometry.ach.moons02",
(unsigned int)(int)_mm_round_ss(v73, v73, 9).f32[0],
0);
v76 = (__m128)v862.u32[0];
v76.f32[0] = (float)(v862.f32[0] / 300.0) * 100.0;
v77 = GameManager::sharedState(v74, "geometry.ach.moons02", v75);
GameManager::reportAchievementWithID(
v77,
"geometry.ach.moons03",
(unsigned int)(int)_mm_round_ss(v76, v76, 9).f32[0],
0);
v79 = (__m128)v862.u32[0];
v79.f32[0] = (float)(v862.f32[0] / 400.0) * 100.0;
v80 = GameManager::sharedState(v77, "geometry.ach.moons03", v78);
GameManager::reportAchievementWithID(
v80,
"geometry.ach.moons04",
(unsigned int)(int)_mm_round_ss(v79, v79, 9).f32[0],
0);
v82 = (__m128)v862.u32[0];
v82.f32[0] = (float)(v862.f32[0] / 500.0) * 100.0;
v83 = GameManager::sharedState(v80, "geometry.ach.moons04", v81);
GameManager::reportAchievementWithID(
v83,
"geometry.ach.moons05",
(unsigned int)(int)_mm_round_ss(v82, v82, 9).f32[0],
0);
v85 = (__m128)v862.u32[0];
v85.f32[0] = (float)(v862.f32[0] / 600.0) * 100.0;
v86 = GameManager::sharedState(v83, "geometry.ach.moons05", v84);
GameManager::reportAchievementWithID(
v86,
"geometry.ach.moons06",
(unsigned int)(int)_mm_round_ss(v85, v85, 9).f32[0],
0);
v88 = (__m128)v862.u32[0];
v88.f32[0] = (float)(v862.f32[0] / 700.0) * 100.0;
v89 = GameManager::sharedState(v86, "geometry.ach.moons06", v87);
GameManager::reportAchievementWithID(
v89,
"geometry.ach.moons07",
(unsigned int)(int)_mm_round_ss(v88, v88, 9).f32[0],
0);
v91 = (__m128)v862.u32[0];
v91.f32[0] = (float)(v862.f32[0] / 800.0) * 100.0;
v92 = GameManager::sharedState(v89, "geometry.ach.moons07", v90);
GameManager::reportAchievementWithID(
v92,
"geometry.ach.moons08",
(unsigned int)(int)_mm_round_ss(v91, v91, 9).f32[0],
0);
v94 = (__m128)v862.u32[0];
v94.f32[0] = (float)(v862.f32[0] / 900.0) * 100.0;
v95 = GameManager::sharedState(v92, "geometry.ach.moons08", v93);
GameManager::reportAchievementWithID(
v95,
"geometry.ach.moons09",
(unsigned int)(int)_mm_round_ss(v94, v94, 9).f32[0],
0);
v97 = (__m128)v862.u32[0];
v97.f32[0] = (float)(v862.f32[0] / 1000.0) * 100.0;
v98 = GameManager::sharedState(v95, "geometry.ach.moons09", v96);
GameManager::reportAchievementWithID(
v98,
"geometry.ach.moons10",
(unsigned int)(int)_mm_round_ss(v97, v97, 9).f32[0],
0);
v100 = (__m128)v862.u32[0];
v100.f32[0] = (float)(v862.f32[0] / 1500.0) * 100.0;
v101 = GameManager::sharedState(v98, "geometry.ach.moons10", v99);
GameManager::reportAchievementWithID(
v101,
"geometry.ach.moons11",
(unsigned int)(int)_mm_round_ss(v100, v100, 9).f32[0],
0);
v103 = (__m128)v862.u32[0];
v103.f32[0] = (float)(v862.f32[0] / 2000.0) * 100.0;
v104 = GameManager::sharedState(v101, "geometry.ach.moons11", v102);
GameManager::reportAchievementWithID(
v104,
"geometry.ach.moons12",
(unsigned int)(int)_mm_round_ss(v103, v103, 9).f32[0],
0);
v106 = (__m128)v862.u32[0];
v106.f32[0] = (float)(v862.f32[0] / 2500.0) * 100.0;
v107 = GameManager::sharedState(v104, "geometry.ach.moons12", v105);
GameManager::reportAchievementWithID(
v107,
"geometry.ach.moons13",
(unsigned int)(int)_mm_round_ss(v106, v106, 9).f32[0],
0);
v109 = (__m128)v862.u32[0];
v109.f32[0] = (float)(v862.f32[0] / 3000.0) * 100.0;
v110 = GameManager::sharedState(v107, "geometry.ach.moons13", v108);
GameManager::reportAchievementWithID(
v110,
"geometry.ach.moons14",
(unsigned int)(int)_mm_round_ss(v109, v109, 9).f32[0],
0);
v112 = (__m128)v862.u32[0];
v112.f32[0] = (float)(v862.f32[0] / 3500.0) * 100.0;
v113 = GameManager::sharedState(v110, "geometry.ach.moons14", v111);
GameManager::reportAchievementWithID(
v113,
"geometry.ach.moons15",
(unsigned int)(int)_mm_round_ss(v112, v112, 9).f32[0],
0);
v115 = (__m128)v862.u32[0];
v115.f32[0] = (float)(v862.f32[0] / 4000.0) * 100.0;
v116 = GameManager::sharedState(v113, "geometry.ach.moons15", v114);
GameManager::reportAchievementWithID(
v116,
"geometry.ach.moons16",
(unsigned int)(int)_mm_round_ss(v115, v115, 9).f32[0],
0);
v118 = (__m128)v862.u32[0];
v118.f32[0] = (float)(v862.f32[0] / 4500.0) * 100.0;
v119 = GameManager::sharedState(v116, "geometry.ach.moons16", v117);
GameManager::reportAchievementWithID(
v119,
"geometry.ach.moons17",
(unsigned int)(int)_mm_round_ss(v118, v118, 9).f32[0],
0);
v121 = (__m128)v862.u32[0];
v121.f32[0] = (float)(v862.f32[0] / 5000.0) * 100.0;
v122 = GameManager::sharedState(v119, "geometry.ach.moons17", v120);
GameManager::reportAchievementWithID(
v122,
"geometry.ach.moons18",
(unsigned int)(int)_mm_round_ss(v121, v121, 9).f32[0],
0);
v124 = (__m128)v862.u32[0];
v124.f32[0] = (float)(v862.f32[0] / 5500.0) * 100.0;
v125 = GameManager::sharedState(v122, "geometry.ach.moons18", v123);
GameManager::reportAchievementWithID(
v125,
"geometry.ach.moons19",
(unsigned int)(int)_mm_round_ss(v124, v124, 9).f32[0],
0);
v127 = (__m128)v862.u32[0];
v127.f32[0] = (float)(v862.f32[0] / 6000.0) * 100.0;
v128 = GameManager::sharedState(v125, "geometry.ach.moons19", v126);
GameManager::reportAchievementWithID(
v128,
"geometry.ach.moons20",
(unsigned int)(int)_mm_round_ss(v127, v127, 9).f32[0],
0);
v130 = (__m128)v862.u32[0];
v130.f32[0] = (float)(v862.f32[0] / 6500.0) * 100.0;
v131 = GameManager::sharedState(v128, "geometry.ach.moons20", v129);
GameManager::reportAchievementWithID(
v131,
"geometry.ach.moons21",
(unsigned int)(int)_mm_round_ss(v130, v130, 9).f32[0],
0);
v133 = (__m128)v862.u32[0];
v133.f32[0] = (float)(v862.f32[0] / 7000.0) * 100.0;
v134 = GameManager::sharedState(v131, "geometry.ach.moons21", v132);
GameManager::reportAchievementWithID(
v134,
"geometry.ach.moons22",
(unsigned int)(int)_mm_round_ss(v133, v133, 9).f32[0],
0);
v136 = (__m128)v862.u32[0];
v136.f32[0] = (float)(v862.f32[0] / 7500.0) * 100.0;
v137 = GameManager::sharedState(v134, "geometry.ach.moons22", v135);
GameManager::reportAchievementWithID(
v137,
"geometry.ach.moons23",
(unsigned int)(int)_mm_round_ss(v136, v136, 9).f32[0],
0);
v139 = (__m128)v862.u32[0];
v139.f32[0] = (float)(v862.f32[0] / 8000.0) * 100.0;
v140 = GameManager::sharedState(v137, "geometry.ach.moons23", v138);
GameManager::reportAchievementWithID(
v140,
"geometry.ach.moons24",
(unsigned int)(int)_mm_round_ss(v139, v139, 9).f32[0],
0);
v142 = (__m128)v862.u32[0];
v142.f32[0] = (float)(v862.f32[0] / 9000.0) * 100.0;
v143 = GameManager::sharedState(v140, "geometry.ach.moons24", v141);
GameManager::reportAchievementWithID(
v143,
"geometry.ach.moons25",
(unsigned int)(int)_mm_round_ss(v142, v142, 9).f32[0],
0);
v48 = GameManager::sharedState(v143, "geometry.ach.moons25", v144);
v145 = (__m128)v862.u32[0];
v145.f32[0] = (float)(v862.f32[0] / 10000.0) * 100.0;
v50 = (unsigned int)(int)_mm_round_ss(v145, v145, 9).f32[0];
v51 = "geometry.ach.moons26";
goto LABEL_94;
case 30:
case 31:
case 32:
case 33:
case 34:
case 35:
case 36:
case 37:
case 38:
case 39:
v5 = (unsigned int)(v4 - 29);
v860.f32[0] = (float)(int)GameStatsManager::getStat(a1, a2, result);
v6 = 1;
v7 = 100;
v861 = (const char *)v5;
break;
case 40:
v646 = GameStatsManager::getStat(a1, a2, result);
if ( v646 > 0 )
{
v647 = GameManager::sharedState(a1, a2, v645);
a2 = "geometry.ach.gauntlets01";
a1 = v647;
GameManager::reportAchievementWithID(v647, "geometry.ach.gauntlets01", 100, 0);
}
result.f32[0] = (float)((float)v646 / 5.0) * 100.0;
v648 = GameManager::sharedState(a1, a2, v645);
GameManager::reportAchievementWithID(
v648,
"geometry.ach.gauntlets02",
(unsigned int)(int)_mm_round_ss(result, result, 9).f32[0],
0);
v650 = (__m128)COERCE_UNSIGNED_INT((float)v646);
v650.f32[0] = (float)((float)v646 / 10.0) * 100.0;
v651 = GameManager::sharedState(v648, "geometry.ach.gauntlets02", v649);
GameManager::reportAchievementWithID(
v651,
"geometry.ach.gauntlets03",
(unsigned int)(int)_mm_round_ss(v650, v650, 9).f32[0],
0);
v48 = GameManager::sharedState(v651, "geometry.ach.gauntlets03", v652);
v653 = (__m128)COERCE_UNSIGNED_INT((float)v646);
v653.f32[0] = (float)((float)v646 / 15.0) * 100.0;
v50 = (unsigned int)(int)_mm_round_ss(v653, v653, 9).f32[0];
v51 = "geometry.ach.gauntlets04";
goto LABEL_94;
case 41:
v840 = GameStatsManager::getStat(a1, a2, result);
if ( v840 > 0 )
{
v841 = GameManager::sharedState(a1, a2, v839);
a2 = "geometry.ach.lists01";
a1 = v841;
GameManager::reportAchievementWithID(v841, "geometry.ach.lists01", 100, 0);
}
result.f32[0] = (float)((float)v840 / 10.0) * 100.0;
v842 = GameManager::sharedState(a1, a2, v839);
GameManager::reportAchievementWithID(
v842,
"geometry.ach.lists02",
(unsigned int)(int)_mm_round_ss(result, result, 9).f32[0],
0);
v844 = (__m128)COERCE_UNSIGNED_INT((float)v840);
v844.f32[0] = (float)((float)v840 / 25.0) * 100.0;
v845 = GameManager::sharedState(v842, "geometry.ach.lists02", v843);
GameManager::reportAchievementWithID(
v845,
"geometry.ach.lists03",
(unsigned int)(int)_mm_round_ss(v844, v844, 9).f32[0],
0);
v847 = (__m128)COERCE_UNSIGNED_INT((float)v840);
v847.f32[0] = (float)((float)v840 / 50.0) * 100.0;
v848 = GameManager::sharedState(v845, "geometry.ach.lists03", v846);
GameManager::reportAchievementWithID(
v848,
"geometry.ach.lists04",
(unsigned int)(int)_mm_round_ss(v847, v847, 9).f32[0],
0);
v850 = (__m128)COERCE_UNSIGNED_INT((float)v840);
v850.f32[0] = (float)((float)v840 / 100.0) * 100.0;
v851 = GameManager::sharedState(v848, "geometry.ach.lists04", v849);
GameManager::reportAchievementWithID(
v851,
"geometry.ach.lists05",
(unsigned int)(int)_mm_round_ss(v850, v850, 9).f32[0],
0);
v853 = (__m128)COERCE_UNSIGNED_INT((float)v840);
v853.f32[0] = (float)((float)v840 / 150.0) * 100.0;
v854 = GameManager::sharedState(v851, "geometry.ach.lists05", v852);
GameManager::reportAchievementWithID(
v854,
"geometry.ach.lists06",
(unsigned int)(int)_mm_round_ss(v853, v853, 9).f32[0],
0);
v48 = GameManager::sharedState(v854, "geometry.ach.lists06", v855);
v856 = (__m128)COERCE_UNSIGNED_INT((float)v840);
v856.f32[0] = (float)((float)v840 / 200.0) * 100.0;
v50 = (unsigned int)(int)_mm_round_ss(v856, v856, 9).f32[0];
v51 = "geometry.ach.lists07";
goto LABEL_94;
case 42:
v862.f32[0] = (float)(int)GameStatsManager::getStat(a1, a2, result);
v21 = (__m128)v862.u32[0];
v21.f32[0] = (float)(v862.f32[0] / 5.0) * 100.0;
v22 = GameManager::sharedState(a1, a2, v20);
GameManager::reportAchievementWithID(
v22,
"geometry.ach.insane01",
(unsigned int)(int)_mm_round_ss(v21, v21, 9).f32[0],
0);
v24 = (__m128)v862.u32[0];
v24.f32[0] = (float)(v862.f32[0] / 10.0) * 100.0;
v25 = GameManager::sharedState(v22, "geometry.ach.insane01", v23);
GameManager::reportAchievementWithID(
v25,
"geometry.ach.insane02",
(unsigned int)(int)_mm_round_ss(v24, v24, 9).f32[0],
0);
v27 = (__m128)v862.u32[0];
v27.f32[0] = (float)(v862.f32[0] / 25.0) * 100.0;
v28 = GameManager::sharedState(v25, "geometry.ach.insane02", v26);
GameManager::reportAchievementWithID(
v28,
"geometry.ach.insane03",
(unsigned int)(int)_mm_round_ss(v27, v27, 9).f32[0],
0);
v30 = (__m128)v862.u32[0];
v30.f32[0] = (float)(v862.f32[0] / 50.0) * 100.0;
v31 = GameManager::sharedState(v28, "geometry.ach.insane03", v29);
GameManager::reportAchievementWithID(
v31,
"geometry.ach.insane04",
(unsigned int)(int)_mm_round_ss(v30, v30, 9).f32[0],
0);
v33 = (__m128)v862.u32[0];
v33.f32[0] = (float)(v862.f32[0] / 75.0) * 100.0;
v34 = GameManager::sharedState(v31, "geometry.ach.insane04", v32);
GameManager::reportAchievementWithID(
v34,
"geometry.ach.insane05",
(unsigned int)(int)_mm_round_ss(v33, v33, 9).f32[0],
0);
v36 = (__m128)v862.u32[0];
v36.f32[0] = (float)(v862.f32[0] / 100.0) * 100.0;
v37 = GameManager::sharedState(v34, "geometry.ach.insane05", v35);
GameManager::reportAchievementWithID(
v37,
"geometry.ach.insane06",
(unsigned int)(int)_mm_round_ss(v36, v36, 9).f32[0],
0);
v39 = (__m128)v862.u32[0];
v39.f32[0] = (float)(v862.f32[0] / 200.0) * 100.0;
v40 = GameManager::sharedState(v37, "geometry.ach.insane06", v38);
GameManager::reportAchievementWithID(
v40,
"geometry.ach.insane07",
(unsigned int)(int)_mm_round_ss(v39, v39, 9).f32[0],
0);
v42 = (__m128)v862.u32[0];
v42.f32[0] = (float)(v862.f32[0] / 300.0) * 100.0;
v43 = GameManager::sharedState(v40, "geometry.ach.insane07", v41);
GameManager::reportAchievementWithID(
v43,
"geometry.ach.insane08",
(unsigned int)(int)_mm_round_ss(v42, v42, 9).f32[0],
0);
v45 = (__m128)v862.u32[0];
v45.f32[0] = (float)(v862.f32[0] / 400.0) * 100.0;
v46 = GameManager::sharedState(v43, "geometry.ach.insane08", v44);
GameManager::reportAchievementWithID(
v46,
"geometry.ach.insane09",
(unsigned int)(int)_mm_round_ss(v45, v45, 9).f32[0],
0);
v48 = GameManager::sharedState(v46, "geometry.ach.insane09", v47);
v49 = (__m128)v862.u32[0];
v49.f32[0] = (float)(v862.f32[0] / 500.0) * 100.0;
v50 = (unsigned int)(int)_mm_round_ss(v49, v49, 9).f32[0];
v51 = "geometry.ach.insane10";
LABEL_94:
v520 = v48;
return GameManager::reportAchievementWithID(v520, v51, v50, 0);
case 44:
if ( (int)GameStatsManager::getStat(a1, a2, result) <= 0 )
return result;
v519 = GameManager::sharedState(a1, a2, v518);
v51 = "geometry.ach.hyped01";
v520 = v519;
v50 = 100;
return GameManager::reportAchievementWithID(v520, v51, v50, 0);
default:
return result;
}
do
{
v8 = (const char *)(unsigned int)v5;
v9 = sub_10088E820("geometry.ach.path%02d.%02d", v857);
CString = (const char *)cocos2d::CCString::getCString(v9);
v11 = CString;
v12 = strlen(CString);
if ( v12 >= 0xFFFFFFFFFFFFFFF8LL )
sub_100003630();
v14 = v12;
v862.i32[0] = v6;
if ( v12 >= 0x17 )
{
v5 = (v12 | 7) + 1;
if ( (v12 | 7) == 0x17 )
v5 = 26;
v15 = (char *)operator new(v5);
__p = v15;
__dst[0] = v5 + 1;
LODWORD(v5) = (_DWORD)v861;
__dst[1] = v14;
LABEL_11:
v11 = v15;
v8 = CString;
memmove(v15, CString, v14);
goto LABEL_12;
}
LOBYTE(__dst[0]) = 2 * v12;
v15 = (char *)__dst + 1;
if ( v12 )
goto LABEL_11;
LABEL_12:
v15[v14] = 0;
v16 = GameManager::sharedState(v11, v8, v13);
v17 = v862.i32[0];
v18 = (__m128)v860.u32[0];
v19 = (char *)__dst + 1;
if ( (__dst[0] & 1) != 0 )
v19 = (char *)__p;
v18.f32[0] = (float)(v860.f32[0] / (float)v7) * 100.0;
result = GameManager::reportAchievementWithID(v16, v19, (unsigned int)(int)_mm_round_ss(v18, v18, 9).f32[0], 0);
if ( (__dst[0] & 1) != 0 )
operator delete(__p);
v6 = v17 + 1;
v7 += 100;
}
while ( v7 != 1100 );
return result;
}