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