// // sub_1003CA30C from 0x1003ca30c to 0x1003cd874 (13672 bytes) // // 2 xrefs: // > GameStatsManager::setStat @ 0x1003ca154 // > GameStatsManager::incrementStat @ 0x1003ca1f8 // // This function is hookable on this platform (idp: arm, 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:04:09 +0000 // void __fastcall sub_1003CA30C(__int64 a1, char *a2) { int v4; // w0 const char *v5; // x13 char *v6; // x24 char *v7; // x26 char *v8; // x28 char *v9; // x21 const char *v10; // x12 const char *v11; // x14 char *v12; // x25 char *v13; // x27 char *v14; // x22 int v15; // w19 float v16; // s8 int v17; // w21 unsigned int i; // w22 void *v19; // x0 char *CString; // x0 __int64 v21; // x0 int v22; // w2 char *v23; // x1 float v24; // s8 __int64 v25; // x0 __int64 v26; // x0 __int64 v27; // x0 __int64 v28; // x0 __int64 v29; // x0 __int64 v30; // x0 __int64 v31; // x0 __int64 v32; // x0 __int64 v33; // x0 __int64 v34; // x0 int v35; // w2 char *v36; // x1 float v37; // s8 __int64 v38; // x0 __int64 v39; // x0 __int64 v40; // x0 unsigned int v41; // w19 float v42; // s8 __int64 v43; // x0 __int64 v44; // x0 __int64 v45; // x0 __int64 v46; // x0 __int64 v47; // x0 __int64 v48; // x0 __int64 v49; // x0 __int64 v50; // x0 __int64 v51; // x0 __int64 v52; // x0 __int64 v53; // x0 __int64 v54; // x0 __int64 v55; // x0 __int64 v56; // x0 __int64 v57; // x0 __int64 v58; // x0 __int64 v59; // x0 __int64 v60; // x0 __int64 v61; // x0 __int64 v62; // x0 __int64 v63; // x0 __int64 v64; // x0 __int64 v65; // x0 __int64 v66; // x0 __int64 v67; // x0 int v68; // w19 __int64 v69; // x0 __int64 v70; // x0 __int64 v71; // x0 __int64 v72; // x0 __int64 v73; // x0 int v74; // w19 __int64 v75; // x0 __int64 v76; // x0 __int64 v77; // x0 __int64 v78; // x0 __int64 v79; // x0 __int64 v80; // x0 __int64 v81; // x0 __int64 v82; // x0 __int64 v83; // x0 __int64 v84; // x0 __int64 v85; // x0 __int64 v86; // x0 __int64 v87; // x0 __int64 v88; // x0 __int64 v89; // x0 __int64 v90; // x0 __int64 v91; // x0 __int64 v92; // x0 __int64 v93; // x0 __int64 v94; // x0 __int64 v95; // x0 __int64 v96; // x0 __int64 v97; // x0 __int64 v98; // x0 __int64 v99; // x0 __int64 v100; // x0 __int64 v101; // x0 __int64 v102; // x0 __int64 v103; // x0 __int64 v104; // x0 __int64 v105; // x0 __int64 v106; // x0 __int64 v107; // x0 __int64 v108; // x0 __int64 v109; // x0 __int64 v110; // x0 __int64 v111; // x0 __int64 v112; // x0 __int64 v113; // x0 float v114; // s8 __int64 v115; // x0 __int64 v116; // x0 __int64 v117; // x0 __int64 v118; // x0 __int64 v119; // x0 int v120; // w19 __int64 v121; // x0 __int64 v122; // x0 __int64 v123; // x0 __int64 v124; // x0 __int64 v125; // x0 __int64 v126; // x0 __int64 v127; // x0 __int64 v128; // x0 __int64 v129; // x0 float v130; // s8 __int64 v131; // x0 __int64 v132; // x0 __int64 v133; // x0 __int64 v134; // x0 __int64 v135; // x0 __int64 v136; // x0 __int64 v137; // x0 __int64 v138; // x0 __int64 v139; // x0 __int64 v140; // x0 __int64 v141; // x0 __int64 v142; // x0 __int64 v143; // x0 __int64 v144; // x0 __int64 v145; // x0 __int64 v146; // x0 __int64 v147; // x0 __int64 v148; // x0 __int64 v149; // x0 __int64 v150; // x0 __int64 v151; // x0 __int64 v152; // x0 __int64 v153; // x0 __int64 v154; // x0 __int64 v155; // x0 __int64 v156; // x0 __int64 v157; // x0 float v158; // s8 __int64 v159; // x0 __int64 v160; // x0 __int64 v161; // x0 __int64 v162; // x0 __int64 v163; // x0 __int64 v164; // x0 __int64 v165; // x0 __int64 v166; // x0 __int64 v167; // x0 __int64 v168; // x0 __int64 v169; // x0 __int64 v170; // x0 __int64 v171; // x0 __int64 v172; // x0 __int64 v173; // x0 __int64 v174; // x0 __int64 v175; // x0 __int64 v176; // x0 __int64 v177; // x0 __int64 v178; // x0 __int64 v179; // x0 __int64 v180; // x0 __int64 v181; // x0 __int64 v182; // x0 __int64 v183; // x0 __int64 v184; // x0 __int64 v185; // x0 __int64 v186; // x0 __int64 v187; // x0 __int64 v188; // x0 __int64 v189; // x0 __int64 v190; // x0 int v191; // w19 __int64 v192; // x0 __int64 v193; // x0 __int64 v194; // x0 __int64 v195; // x0 __int64 v196; // x0 __int64 v197; // x0 float v198; // s8 __int64 v199; // x0 __int64 v200; // x0 __int64 v201; // x0 __int64 v202; // x0 __int64 v203; // x0 __int64 v204; // x0 __int64 v205; // x0 __int64 v206; // x0 __int64 v207; // x0 __int64 v208; // x0 __int64 v209; // x0 __int64 v210; // x0 __int64 v211; // x0 __int64 v212; // x0 __int64 v213; // x0 __int64 v214; // x0 __int64 v215; // x0 int Stat; // w19 __int64 v217; // x0 __int64 v218; // x0 __int64 v219; // x0 __int64 v220; // x0 __int64 v221; // x0 __int64 v222; // x0 __int64 v223; // x0 __int64 v224; // x0 __int64 v225; // x0 __int64 v226; // x0 __int64 v227; // x0 __int64 v228; // x0 __int64 v229; // x0 int32x2_t v230; // d1 int v231; // w19 __int64 v232; // x0 __int64 v233; // x0 float32x4_t v234; // q1 float32x4_t v235; // q2 int v236; // w2 int v237; // w19 __int64 v238; // x0 int v239; // w19 __int64 v240; // x0 int v241; // w19 __int64 v242; // x0 __int64 v243; // x0 __int64 v244; // x0 __int64 v245; // x0 __int64 v246; // x0 __int64 v247; // x0 int v248; // w19 __int64 v249; // x0 __int64 v250; // x0 __int64 v251; // x0 int32x2_t v252; // d0 int v253; // w19 __int64 v254; // x0 __int64 v255; // x0 float32x4_t v256; // q1 float32x4_t v257; // q2 int v258; // w2 int v259; // w19 __int64 v260; // x0 int v261; // w19 __int64 v262; // x0 int v263; // w19 __int64 v264; // x0 __int64 v265; // x0 __int64 v266; // x0 __int64 v267; // x0 __int64 v268; // x0 __int64 v269; // x0 __int64 v270; // x0 __int64 v271; // x0 __int64 v272; // x0 signed int v273; // w19 __int64 v274; // x0 __int64 v275; // x0 __int64 v276; // x0 __int64 v277; // x0 __int64 v278; // x0 __int64 v279; // x0 __int64 v280; // x0 __int64 v281; // x0 __int64 v282; // x0 __int64 v283; // x0 __int64 v284; // x0 __int64 v285; // x0 __int64 v286; // x0 __int64 v287; // x0 __int64 v288; // x0 __int64 v289; // x0 __int64 v290; // x0 __int64 v291; // x0 __int64 v292; // x0 __int64 v293; // x0 __int64 v294; // x0 __int64 v295; // x0 __int64 v296; // x0 __int64 v297; // x0 __int64 v298; // x0 __int64 v299; // x0 char *v300; // x24 char *v301; // x26 int v302; // w20 __int64 v303; // x0 __int64 v304; // x0 __int64 v305; // x0 __int64 v306; // x0 __int64 v307; // x0 int v308; // w20 __int64 v309; // x0 __int64 v310; // x0 __int64 v311; // x0 __int64 v312; // x0 char *v313; // x22 int v314; // w19 __int64 v315; // x0 __int64 v316; // x0 __int64 v317; // x0 __int64 v318; // x0 __int64 v319; // x0 int v320; // w20 __int64 v321; // x0 __int64 v322; // x0 __int64 v323; // x0 __int64 v324; // x0 int v325; // w19 __int64 v326; // x0 __int64 v327; // x0 __int64 v328; // x0 __int64 v329; // x0 __int64 v330; // x0 __int64 v331; // x0 int16x4_t v332; // [xsp+10h] [xbp-B0h] int16x4_t v333; // [xsp+10h] [xbp-B0h] float32x4_t v334; // [xsp+20h] [xbp-A0h] float32x4_t v335; // [xsp+20h] [xbp-A0h] int32x2_t v336; // [xsp+30h] [xbp-90h] int32x2_t v337; // [xsp+30h] [xbp-90h] void *__p[2]; // [xsp+48h] [xbp-78h] BYREF char v339; // [xsp+5Fh] [xbp-61h] v4 = atoi(a2); v5 = "geometry.ach.shardEarth05"; v6 = "geometry.ach.shardEarth04"; v7 = "geometry.ach.shardEarth03"; v8 = "geometry.ach.shardEarth02"; v9 = "geometry.ach.shardEarth01"; v10 = "geometry.ach.shardFire05"; v11 = "geometry.ach.shardFire04"; v12 = "geometry.ach.shardFire03"; v13 = "geometry.ach.shardFire02"; v14 = "geometry.ach.shardFire01"; switch ( v4 ) { case 1: *(float *)v230.i32 = (float)(int)GameStatsManager::getStat(a1, a2); v336 = v230; v231 = (int)fminf(floorf((float)(*(float *)v230.i32 / 1000.0) * 100.0), 100.0); v232 = GameManager::sharedState(); GameManager::reportAchievementWithID(v232, "geometry.ach.jump01", v231, 0); v233 = GameManager::sharedState(); v234 = (float32x4_t)vdupq_n_s32(0x42C80000u); v235 = vrndmq_f32(vmulq_f32(vdivq_f32((float32x4_t)vdupq_lane_s32(v336, 0), (float32x4_t)xmmword_10076E190), v234)); v332 = vmovn_s32(vcgtq_f32(v234, v235)); v334 = v235; if ( (v332.i8[6] & 1) != 0 ) v236 = (int)v235.f32[3]; else v236 = 100; GameManager::reportAchievementWithID(v233, "geometry.ach.jump02", v236, 0); if ( (v332.i8[4] & 1) != 0 ) v237 = (int)v334.f32[2]; else v237 = 100; v238 = GameManager::sharedState(); GameManager::reportAchievementWithID(v238, "geometry.ach.jump03", v237, 0); if ( (v332.i8[2] & 1) != 0 ) v239 = (int)v334.f32[1]; else v239 = 100; v240 = GameManager::sharedState(); GameManager::reportAchievementWithID(v240, "geometry.ach.jump04", v239, 0); if ( (v332.i8[0] & 1) != 0 ) v241 = (int)v334.f32[0]; else v241 = 100; v242 = GameManager::sharedState(); GameManager::reportAchievementWithID(v242, "geometry.ach.jump05", v241, 0); v243 = GameManager::sharedState(); GameManager::reportAchievementWithID( v243, "geometry.ach.jump06", vcvtms_s32_f32((float)(*(float *)v336.i32 / 200000.0) * 100.0), 0); v244 = GameManager::sharedState(); GameManager::reportAchievementWithID( v244, "geometry.ach.jump07", vcvtms_s32_f32((float)(*(float *)v336.i32 / 300000.0) * 100.0), 0); v245 = GameManager::sharedState(); GameManager::reportAchievementWithID( v245, "geometry.ach.jump08", vcvtms_s32_f32((float)(*(float *)v336.i32 / 400000.0) * 100.0), 0); v246 = GameManager::sharedState(); GameManager::reportAchievementWithID( v246, "geometry.ach.jump09", vcvtms_s32_f32((float)(*(float *)v336.i32 / 500000.0) * 100.0), 0); v247 = GameManager::sharedState(); GameManager::reportAchievementWithID( v247, "geometry.ach.jump10", vcvtms_s32_f32((float)(*(float *)v336.i32 / 750000.0) * 100.0), 0); v34 = GameManager::sharedState(); v35 = vcvtms_s32_f32((float)(*(float *)v336.i32 / 1000000.0) * 100.0); v36 = "geometry.ach.jump11"; goto LABEL_93; case 2: *(float *)v252.i32 = (float)(int)GameStatsManager::getStat(a1, a2); v337 = v252; v253 = (int)fminf(floorf((float)(*(float *)v252.i32 / 100.0) * 100.0), 100.0); v254 = GameManager::sharedState(); GameManager::reportAchievementWithID(v254, "geometry.ach.attempt01", v253, 0); v255 = GameManager::sharedState(); v256 = (float32x4_t)vdupq_n_s32(0x42C80000u); v257 = vrndmq_f32(vmulq_f32(vdivq_f32((float32x4_t)vdupq_lane_s32(v337, 0), (float32x4_t)xmmword_10076E180), v256)); v333 = vmovn_s32(vcgtq_f32(v256, v257)); v335 = v257; if ( (v333.i8[6] & 1) != 0 ) v258 = (int)v257.f32[3]; else v258 = 100; GameManager::reportAchievementWithID(v255, "geometry.ach.attempt02", v258, 0); if ( (v333.i8[4] & 1) != 0 ) v259 = (int)v335.f32[2]; else v259 = 100; v260 = GameManager::sharedState(); GameManager::reportAchievementWithID(v260, "geometry.ach.attempt03", v259, 0); if ( (v333.i8[2] & 1) != 0 ) v261 = (int)v335.f32[1]; else v261 = 100; v262 = GameManager::sharedState(); GameManager::reportAchievementWithID(v262, "geometry.ach.attempt04", v261, 0); if ( (v333.i8[0] & 1) != 0 ) v263 = (int)v335.f32[0]; else v263 = 100; v264 = GameManager::sharedState(); GameManager::reportAchievementWithID(v264, "geometry.ach.attempt05", v263, 0); v265 = GameManager::sharedState(); GameManager::reportAchievementWithID( v265, "geometry.ach.attempt06", vcvtms_s32_f32((float)(*(float *)v337.i32 / 30000.0) * 100.0), 0); v266 = GameManager::sharedState(); GameManager::reportAchievementWithID( v266, "geometry.ach.attempt07", vcvtms_s32_f32((float)(*(float *)v337.i32 / 40000.0) * 100.0), 0); v267 = GameManager::sharedState(); GameManager::reportAchievementWithID( v267, "geometry.ach.attempt08", vcvtms_s32_f32((float)(*(float *)v337.i32 / 60000.0) * 100.0), 0); v268 = GameManager::sharedState(); GameManager::reportAchievementWithID( v268, "geometry.ach.attempt09", vcvtms_s32_f32((float)(*(float *)v337.i32 / 80000.0) * 100.0), 0); v269 = GameManager::sharedState(); GameManager::reportAchievementWithID( v269, "geometry.ach.attempt10", vcvtms_s32_f32((float)(*(float *)v337.i32 / 100000.0) * 100.0), 0); v270 = GameManager::sharedState(); GameManager::reportAchievementWithID( v270, "geometry.ach.attempt11", vcvtms_s32_f32((float)(*(float *)v337.i32 / 135000.0) * 100.0), 0); v271 = GameManager::sharedState(); GameManager::reportAchievementWithID( v271, "geometry.ach.attempt12", vcvtms_s32_f32((float)(*(float *)v337.i32 / 185000.0) * 100.0), 0); v272 = GameManager::sharedState(); GameManager::reportAchievementWithID( v272, "geometry.ach.attempt13", vcvtms_s32_f32((float)(*(float *)v337.i32 / 250000.0) * 100.0), 0); v34 = GameManager::sharedState(); v35 = vcvtms_s32_f32((float)(*(float *)v337.i32 / 300000.0) * 100.0); v36 = "geometry.ach.attempt14"; goto LABEL_93; case 4: Stat = GameStatsManager::getStat(a1, a2); if ( Stat >= 1 ) { v217 = GameManager::sharedState(); GameManager::reportAchievementWithID(v217, "geometry.ach.custom01", 100, 0); } v218 = GameManager::sharedState(); GameManager::reportAchievementWithID( v218, "geometry.ach.custom02", vcvtms_s32_f32((float)((float)Stat / 10.0) * 100.0), 0); v219 = GameManager::sharedState(); GameManager::reportAchievementWithID( v219, "geometry.ach.custom03", vcvtms_s32_f32((float)((float)Stat / 50.0) * 100.0), 0); v220 = GameManager::sharedState(); GameManager::reportAchievementWithID( v220, "geometry.ach.custom04", vcvtms_s32_f32((float)((float)Stat / 100.0) * 100.0), 0); v221 = GameManager::sharedState(); GameManager::reportAchievementWithID( v221, "geometry.ach.custom05", vcvtms_s32_f32((float)((float)Stat / 200.0) * 100.0), 0); v222 = GameManager::sharedState(); GameManager::reportAchievementWithID( v222, "geometry.ach.custom06", vcvtms_s32_f32((float)((float)Stat / 300.0) * 100.0), 0); v223 = GameManager::sharedState(); GameManager::reportAchievementWithID( v223, "geometry.ach.custom07", vcvtms_s32_f32((float)((float)Stat / 500.0) * 100.0), 0); v224 = GameManager::sharedState(); GameManager::reportAchievementWithID( v224, "geometry.ach.custom08", vcvtms_s32_f32((float)((float)Stat / 1000.0) * 100.0), 0); v225 = GameManager::sharedState(); GameManager::reportAchievementWithID( v225, "geometry.ach.custom09", vcvtms_s32_f32((float)((float)Stat / 1500.0) * 100.0), 0); v226 = GameManager::sharedState(); GameManager::reportAchievementWithID( v226, "geometry.ach.custom10", vcvtms_s32_f32((float)((float)Stat / 2000.0) * 100.0), 0); v227 = GameManager::sharedState(); GameManager::reportAchievementWithID( v227, "geometry.ach.custom11", vcvtms_s32_f32((float)((float)Stat / 2500.0) * 100.0), 0); v228 = GameManager::sharedState(); GameManager::reportAchievementWithID( v228, "geometry.ach.custom12", vcvtms_s32_f32((float)((float)Stat / 3000.0) * 100.0), 0); v229 = GameManager::sharedState(); GameManager::reportAchievementWithID( v229, "geometry.ach.custom13", vcvtms_s32_f32((float)((float)Stat / 4000.0) * 100.0), 0); v34 = GameManager::sharedState(); v35 = vcvtms_s32_f32((float)((float)Stat / 5000.0) * 100.0); v36 = "geometry.ach.custom14"; goto LABEL_93; case 5: v273 = GameStatsManager::getStat(a1, a2); if ( v273 >= 1 ) { v274 = GameManager::sharedState(); GameManager::reportAchievementWithID(v274, "geometry.ach.demon01", 100, 0); } v275 = GameManager::sharedState(); GameManager::reportAchievementWithID( v275, "geometry.ach.demon02", vcvtms_s32_f32(vcvts_n_f32_s32(v273, 1u) * 100.0), 0); v276 = GameManager::sharedState(); GameManager::reportAchievementWithID( v276, "geometry.ach.demon03", vcvtms_s32_f32((float)((float)v273 / 3.0) * 100.0), 0); v277 = GameManager::sharedState(); GameManager::reportAchievementWithID( v277, "geometry.ach.demon04", vcvtms_s32_f32(vcvts_n_f32_s32(v273, 2u) * 100.0), 0); v278 = GameManager::sharedState(); GameManager::reportAchievementWithID( v278, "geometry.ach.demon05", vcvtms_s32_f32((float)((float)v273 / 5.0) * 100.0), 0); v279 = GameManager::sharedState(); GameManager::reportAchievementWithID( v279, "geometry.ach.demon06", vcvtms_s32_f32((float)((float)v273 / 10.0) * 100.0), 0); v280 = GameManager::sharedState(); GameManager::reportAchievementWithID( v280, "geometry.ach.demon07", vcvtms_s32_f32((float)((float)v273 / 15.0) * 100.0), 0); v281 = GameManager::sharedState(); GameManager::reportAchievementWithID( v281, "geometry.ach.demon08", vcvtms_s32_f32((float)((float)v273 / 20.0) * 100.0), 0); v282 = GameManager::sharedState(); GameManager::reportAchievementWithID( v282, "geometry.ach.demon09", vcvtms_s32_f32((float)((float)v273 / 30.0) * 100.0), 0); v283 = GameManager::sharedState(); GameManager::reportAchievementWithID( v283, "geometry.ach.demon10", vcvtms_s32_f32((float)((float)v273 / 40.0) * 100.0), 0); v284 = GameManager::sharedState(); GameManager::reportAchievementWithID( v284, "geometry.ach.demon11", vcvtms_s32_f32((float)((float)v273 / 50.0) * 100.0), 0); v285 = GameManager::sharedState(); GameManager::reportAchievementWithID( v285, "geometry.ach.demon12", vcvtms_s32_f32((float)((float)v273 / 60.0) * 100.0), 0); v286 = GameManager::sharedState(); GameManager::reportAchievementWithID( v286, "geometry.ach.demon13", vcvtms_s32_f32((float)((float)v273 / 70.0) * 100.0), 0); v287 = GameManager::sharedState(); GameManager::reportAchievementWithID( v287, "geometry.ach.demon14", vcvtms_s32_f32((float)((float)v273 / 80.0) * 100.0), 0); v288 = GameManager::sharedState(); GameManager::reportAchievementWithID( v288, "geometry.ach.demon15", vcvtms_s32_f32((float)((float)v273 / 90.0) * 100.0), 0); v289 = GameManager::sharedState(); GameManager::reportAchievementWithID( v289, "geometry.ach.demon16", vcvtms_s32_f32((float)((float)v273 / 100.0) * 100.0), 0); v290 = GameManager::sharedState(); GameManager::reportAchievementWithID( v290, "geometry.ach.demon17", vcvtms_s32_f32((float)((float)v273 / 120.0) * 100.0), 0); v291 = GameManager::sharedState(); GameManager::reportAchievementWithID( v291, "geometry.ach.demon18", vcvtms_s32_f32((float)((float)v273 / 140.0) * 100.0), 0); v292 = GameManager::sharedState(); GameManager::reportAchievementWithID( v292, "geometry.ach.demon19", vcvtms_s32_f32((float)((float)v273 / 160.0) * 100.0), 0); v293 = GameManager::sharedState(); GameManager::reportAchievementWithID( v293, "geometry.ach.demon20", vcvtms_s32_f32((float)((float)v273 / 180.0) * 100.0), 0); v294 = GameManager::sharedState(); GameManager::reportAchievementWithID( v294, "geometry.ach.demon21", vcvtms_s32_f32((float)((float)v273 / 200.0) * 100.0), 0); v295 = GameManager::sharedState(); GameManager::reportAchievementWithID( v295, "geometry.ach.demon22", vcvtms_s32_f32((float)((float)v273 / 225.0) * 100.0), 0); v296 = GameManager::sharedState(); GameManager::reportAchievementWithID( v296, "geometry.ach.demon23", vcvtms_s32_f32((float)((float)v273 / 250.0) * 100.0), 0); v297 = GameManager::sharedState(); GameManager::reportAchievementWithID( v297, "geometry.ach.demon24", vcvtms_s32_f32((float)((float)v273 / 300.0) * 100.0), 0); v298 = GameManager::sharedState(); GameManager::reportAchievementWithID( v298, "geometry.ach.demon25", vcvtms_s32_f32((float)((float)v273 / 350.0) * 100.0), 0); v299 = GameManager::sharedState(); GameManager::reportAchievementWithID( v299, "geometry.ach.demon26", vcvtms_s32_f32((float)((float)v273 / 400.0) * 100.0), 0); v41 = vcvtms_s32_f32((float)((float)v273 / 500.0) * 100.0); v34 = GameManager::sharedState(); v36 = "geometry.ach.demon27"; goto LABEL_82; case 6: v158 = (float)(int)GameStatsManager::getStat(a1, a2); v159 = GameManager::sharedState(); GameManager::reportAchievementWithID( v159, "geometry.ach.stars01", vcvtms_s32_f32((float)(v158 / 100.0) * 100.0), 0); v160 = GameManager::sharedState(); GameManager::reportAchievementWithID( v160, "geometry.ach.stars02", vcvtms_s32_f32((float)(v158 / 200.0) * 100.0), 0); v161 = GameManager::sharedState(); GameManager::reportAchievementWithID( v161, "geometry.ach.stars03", vcvtms_s32_f32((float)(v158 / 300.0) * 100.0), 0); v162 = GameManager::sharedState(); GameManager::reportAchievementWithID( v162, "geometry.ach.stars04", vcvtms_s32_f32((float)(v158 / 400.0) * 100.0), 0); v163 = GameManager::sharedState(); GameManager::reportAchievementWithID( v163, "geometry.ach.stars05", vcvtms_s32_f32((float)(v158 / 500.0) * 100.0), 0); v164 = GameManager::sharedState(); GameManager::reportAchievementWithID( v164, "geometry.ach.stars06", vcvtms_s32_f32((float)(v158 / 600.0) * 100.0), 0); v165 = GameManager::sharedState(); GameManager::reportAchievementWithID( v165, "geometry.ach.stars07", vcvtms_s32_f32((float)(v158 / 700.0) * 100.0), 0); v166 = GameManager::sharedState(); GameManager::reportAchievementWithID( v166, "geometry.ach.stars08", vcvtms_s32_f32((float)(v158 / 800.0) * 100.0), 0); v167 = GameManager::sharedState(); GameManager::reportAchievementWithID( v167, "geometry.ach.stars09", vcvtms_s32_f32((float)(v158 / 900.0) * 100.0), 0); v168 = GameManager::sharedState(); GameManager::reportAchievementWithID( v168, "geometry.ach.stars10", vcvtms_s32_f32((float)(v158 / 1000.0) * 100.0), 0); v169 = GameManager::sharedState(); GameManager::reportAchievementWithID( v169, "geometry.ach.stars11", vcvtms_s32_f32((float)(v158 / 1500.0) * 100.0), 0); v170 = GameManager::sharedState(); GameManager::reportAchievementWithID( v170, "geometry.ach.stars12", vcvtms_s32_f32((float)(v158 / 2000.0) * 100.0), 0); v171 = GameManager::sharedState(); GameManager::reportAchievementWithID( v171, "geometry.ach.stars13", vcvtms_s32_f32((float)(v158 / 2500.0) * 100.0), 0); v172 = GameManager::sharedState(); GameManager::reportAchievementWithID( v172, "geometry.ach.stars14", vcvtms_s32_f32((float)(v158 / 3000.0) * 100.0), 0); v173 = GameManager::sharedState(); GameManager::reportAchievementWithID( v173, "geometry.ach.stars15", vcvtms_s32_f32((float)(v158 / 3500.0) * 100.0), 0); v174 = GameManager::sharedState(); GameManager::reportAchievementWithID( v174, "geometry.ach.stars16", vcvtms_s32_f32((float)(v158 / 4000.0) * 100.0), 0); v175 = GameManager::sharedState(); GameManager::reportAchievementWithID( v175, "geometry.ach.stars17", vcvtms_s32_f32((float)(v158 / 4500.0) * 100.0), 0); v176 = GameManager::sharedState(); GameManager::reportAchievementWithID( v176, "geometry.ach.stars18", vcvtms_s32_f32((float)(v158 / 5000.0) * 100.0), 0); v177 = GameManager::sharedState(); GameManager::reportAchievementWithID( v177, "geometry.ach.stars19", vcvtms_s32_f32((float)(v158 / 5500.0) * 100.0), 0); v178 = GameManager::sharedState(); GameManager::reportAchievementWithID( v178, "geometry.ach.stars20", vcvtms_s32_f32((float)(v158 / 6000.0) * 100.0), 0); v179 = GameManager::sharedState(); GameManager::reportAchievementWithID( v179, "geometry.ach.stars21", vcvtms_s32_f32((float)(v158 / 6500.0) * 100.0), 0); v180 = GameManager::sharedState(); GameManager::reportAchievementWithID( v180, "geometry.ach.stars22", vcvtms_s32_f32((float)(v158 / 7000.0) * 100.0), 0); v181 = GameManager::sharedState(); GameManager::reportAchievementWithID( v181, "geometry.ach.stars23", vcvtms_s32_f32((float)(v158 / 7500.0) * 100.0), 0); v182 = GameManager::sharedState(); GameManager::reportAchievementWithID( v182, "geometry.ach.stars24", vcvtms_s32_f32((float)(v158 / 8000.0) * 100.0), 0); v183 = GameManager::sharedState(); GameManager::reportAchievementWithID( v183, "geometry.ach.stars25", vcvtms_s32_f32((float)(v158 / 9000.0) * 100.0), 0); v184 = GameManager::sharedState(); GameManager::reportAchievementWithID( v184, "geometry.ach.stars26", vcvtms_s32_f32((float)(v158 / 10000.0) * 100.0), 0); v185 = GameManager::sharedState(); GameManager::reportAchievementWithID( v185, "geometry.ach.stars27", vcvtms_s32_f32((float)(v158 / 12000.0) * 100.0), 0); v186 = GameManager::sharedState(); GameManager::reportAchievementWithID( v186, "geometry.ach.stars28", vcvtms_s32_f32((float)(v158 / 14000.0) * 100.0), 0); v187 = GameManager::sharedState(); GameManager::reportAchievementWithID( v187, "geometry.ach.stars29", vcvtms_s32_f32((float)(v158 / 16000.0) * 100.0), 0); v188 = GameManager::sharedState(); GameManager::reportAchievementWithID( v188, "geometry.ach.stars30", vcvtms_s32_f32((float)(v158 / 18000.0) * 100.0), 0); v189 = GameManager::sharedState(); GameManager::reportAchievementWithID( v189, "geometry.ach.stars31", vcvtms_s32_f32((float)(v158 / 20000.0) * 100.0), 0); v190 = GameManager::sharedState(); GameManager::reportAchievementWithID( v190, "geometry.ach.stars32", vcvtms_s32_f32((float)(v158 / 22500.0) * 100.0), 0); v41 = vcvtms_s32_f32((float)(v158 / 25000.0) * 100.0); v34 = GameManager::sharedState(); v36 = "geometry.ach.stars33"; goto LABEL_82; case 7: v120 = GameStatsManager::getStat(a1, a2); if ( v120 >= 1 ) { v121 = GameManager::sharedState(); GameManager::reportAchievementWithID(v121, "geometry.ach.mappacks01", 100, 0); } v122 = GameManager::sharedState(); GameManager::reportAchievementWithID( v122, "geometry.ach.mappacks02", vcvtms_s32_f32((float)((float)v120 / 5.0) * 100.0), 0); v123 = GameManager::sharedState(); GameManager::reportAchievementWithID( v123, "geometry.ach.mappacks03", vcvtms_s32_f32((float)((float)v120 / 10.0) * 100.0), 0); v124 = GameManager::sharedState(); GameManager::reportAchievementWithID( v124, "geometry.ach.mappacks04", vcvtms_s32_f32((float)((float)v120 / 15.0) * 100.0), 0); v125 = GameManager::sharedState(); GameManager::reportAchievementWithID( v125, "geometry.ach.mappacks05", vcvtms_s32_f32((float)((float)v120 / 20.0) * 100.0), 0); v126 = GameManager::sharedState(); GameManager::reportAchievementWithID( v126, "geometry.ach.mappacks06", vcvtms_s32_f32((float)((float)v120 / 25.0) * 100.0), 0); v127 = GameManager::sharedState(); GameManager::reportAchievementWithID( v127, "geometry.ach.mappacks07", vcvtms_s32_f32((float)((float)v120 / 30.0) * 100.0), 0); v128 = GameManager::sharedState(); GameManager::reportAchievementWithID( v128, "geometry.ach.mappacks08", vcvtms_s32_f32((float)((float)v120 / 35.0) * 100.0), 0); v129 = GameManager::sharedState(); GameManager::reportAchievementWithID( v129, "geometry.ach.mappacks09", vcvtms_s32_f32((float)((float)v120 / 40.0) * 100.0), 0); v41 = vcvtms_s32_f32((float)((float)v120 / 45.0) * 100.0); v34 = GameManager::sharedState(); v36 = "geometry.ach.mappacks10"; goto LABEL_82; case 8: v130 = (float)(int)GameStatsManager::getStat(a1, a2); v131 = GameManager::sharedState(); GameManager::reportAchievementWithID(v131, "geometry.ach.coins01", vcvtms_s32_f32((float)(v130 / 5.0) * 100.0), 0); v132 = GameManager::sharedState(); GameManager::reportAchievementWithID( v132, "geometry.ach.coins02", vcvtms_s32_f32((float)(v130 / 10.0) * 100.0), 0); v133 = GameManager::sharedState(); GameManager::reportAchievementWithID( v133, "geometry.ach.coins03", vcvtms_s32_f32((float)(v130 / 15.0) * 100.0), 0); v134 = GameManager::sharedState(); GameManager::reportAchievementWithID( v134, "geometry.ach.coins04", vcvtms_s32_f32((float)(v130 / 20.0) * 100.0), 0); v135 = GameManager::sharedState(); GameManager::reportAchievementWithID( v135, "geometry.ach.coins05", vcvtms_s32_f32((float)(v130 / 25.0) * 100.0), 0); v136 = GameManager::sharedState(); GameManager::reportAchievementWithID( v136, "geometry.ach.coins06", vcvtms_s32_f32((float)(v130 / 30.0) * 100.0), 0); v137 = GameManager::sharedState(); GameManager::reportAchievementWithID( v137, "geometry.ach.coins07", vcvtms_s32_f32((float)(v130 / 35.0) * 100.0), 0); v138 = GameManager::sharedState(); GameManager::reportAchievementWithID( v138, "geometry.ach.coins08", vcvtms_s32_f32((float)(v130 / 40.0) * 100.0), 0); v139 = GameManager::sharedState(); GameManager::reportAchievementWithID( v139, "geometry.ach.coins09", vcvtms_s32_f32((float)(v130 / 45.0) * 100.0), 0); v140 = GameManager::sharedState(); GameManager::reportAchievementWithID( v140, "geometry.ach.coins10", vcvtms_s32_f32((float)(v130 / 50.0) * 100.0), 0); v141 = GameManager::sharedState(); GameManager::reportAchievementWithID( v141, "geometry.ach.coins11", vcvtms_s32_f32((float)(v130 / 55.0) * 100.0), 0); v142 = GameManager::sharedState(); GameManager::reportAchievementWithID( v142, "geometry.ach.coins12", vcvtms_s32_f32((float)(v130 / 60.0) * 100.0), 0); v143 = GameManager::sharedState(); GameManager::reportAchievementWithID( v143, "geometry.ach.coins13", vcvtms_s32_f32((float)(v130 / 65.0) * 100.0), 0); v144 = GameManager::sharedState(); GameManager::reportAchievementWithID( v144, "geometry.ach.coins14", vcvtms_s32_f32((float)(v130 / 70.0) * 100.0), 0); v145 = GameManager::sharedState(); GameManager::reportAchievementWithID( v145, "geometry.ach.coins15", vcvtms_s32_f32((float)(v130 / 75.0) * 100.0), 0); v146 = GameManager::sharedState(); GameManager::reportAchievementWithID( v146, "geometry.ach.coins16", vcvtms_s32_f32((float)(v130 / 80.0) * 100.0), 0); v147 = GameManager::sharedState(); GameManager::reportAchievementWithID( v147, "geometry.ach.coins17", vcvtms_s32_f32((float)(v130 / 85.0) * 100.0), 0); v148 = GameManager::sharedState(); GameManager::reportAchievementWithID( v148, "geometry.ach.coins18", vcvtms_s32_f32((float)(v130 / 90.0) * 100.0), 0); v149 = GameManager::sharedState(); GameManager::reportAchievementWithID( v149, "geometry.ach.coins19", vcvtms_s32_f32((float)(v130 / 95.0) * 100.0), 0); v150 = GameManager::sharedState(); GameManager::reportAchievementWithID( v150, "geometry.ach.coins20", vcvtms_s32_f32((float)(v130 / 100.0) * 100.0), 0); v151 = GameManager::sharedState(); GameManager::reportAchievementWithID( v151, "geometry.ach.coins21", vcvtms_s32_f32((float)(v130 / 105.0) * 100.0), 0); v152 = GameManager::sharedState(); GameManager::reportAchievementWithID( v152, "geometry.ach.coins22", vcvtms_s32_f32((float)(v130 / 110.0) * 100.0), 0); v153 = GameManager::sharedState(); GameManager::reportAchievementWithID( v153, "geometry.ach.coins23", vcvtms_s32_f32((float)(v130 / 115.0) * 100.0), 0); v154 = GameManager::sharedState(); GameManager::reportAchievementWithID( v154, "geometry.ach.coins24", vcvtms_s32_f32((float)(v130 / 120.0) * 100.0), 0); v155 = GameManager::sharedState(); GameManager::reportAchievementWithID( v155, "geometry.ach.coins25", vcvtms_s32_f32((float)(v130 / 130.0) * 100.0), 0); v156 = GameManager::sharedState(); GameManager::reportAchievementWithID( v156, "geometry.ach.coins26", vcvtms_s32_f32((float)(v130 / 140.0) * 100.0), 0); v157 = GameManager::sharedState(); GameManager::reportAchievementWithID( v157, "geometry.ach.coins27", vcvtms_s32_f32((float)(v130 / 150.0) * 100.0), 0); v34 = GameManager::sharedState(); v35 = vcvtms_s32_f32((float)(v130 / 160.0) * 100.0); v36 = "geometry.ach.coins28"; goto LABEL_93; case 9: v68 = GameStatsManager::getStat(a1, a2); if ( v68 >= 1 ) { v69 = GameManager::sharedState(); GameManager::reportAchievementWithID(v69, "geometry.ach.secret01", 100, 0); } v70 = GameManager::sharedState(); GameManager::reportAchievementWithID( v70, "geometry.ach.secret02", vcvtms_s32_f32((float)((float)v68 / 50.0) * 100.0), 0); v71 = GameManager::sharedState(); GameManager::reportAchievementWithID( v71, "geometry.ach.secret02b", vcvtms_s32_f32((float)((float)v68 / 100.0) * 100.0), 0); v72 = GameManager::sharedState(); GameManager::reportAchievementWithID( v72, "geometry.ach.secret03", vcvtms_s32_f32((float)((float)v68 / 200.0) * 100.0), 0); v73 = GameManager::sharedState(); GameManager::reportAchievementWithID( v73, "geometry.ach.secret03b", vcvtms_s32_f32((float)((float)v68 / 500.0) * 100.0), 0); v41 = vcvtms_s32_f32((float)((float)v68 / 750.0) * 100.0); v34 = GameManager::sharedState(); v36 = "geometry.ach.secret18"; goto LABEL_82; case 10: v114 = (float)(int)GameStatsManager::getStat(a1, a2); v115 = GameManager::sharedState(); GameManager::reportAchievementWithID( v115, "geometry.ach.like02", vcvtms_s32_f32((float)(v114 / 100.0) * 100.0), 0); v116 = GameManager::sharedState(); GameManager::reportAchievementWithID( v116, "geometry.ach.like02b", vcvtms_s32_f32((float)(v114 / 500.0) * 100.0), 0); v117 = GameManager::sharedState(); GameManager::reportAchievementWithID( v117, "geometry.ach.like03", vcvtms_s32_f32((float)(v114 / 1000.0) * 100.0), 0); v118 = GameManager::sharedState(); GameManager::reportAchievementWithID( v118, "geometry.ach.like04", vcvtms_s32_f32((float)(v114 / 2000.0) * 100.0), 0); v119 = GameManager::sharedState(); GameManager::reportAchievementWithID( v119, "geometry.ach.like05", vcvtms_s32_f32((float)(v114 / 3000.0) * 100.0), 0); v34 = GameManager::sharedState(); v35 = vcvtms_s32_f32((float)(v114 / 4000.0) * 100.0); v36 = "geometry.ach.like06"; goto LABEL_93; case 11: v37 = (float)(int)GameStatsManager::getStat(a1, a2); v38 = GameManager::sharedState(); GameManager::reportAchievementWithID( v38, "geometry.ach.rateDiff02", vcvtms_s32_f32((float)(v37 / 100.0) * 100.0), 0); v39 = GameManager::sharedState(); GameManager::reportAchievementWithID( v39, "geometry.ach.rateDiff02b", vcvtms_s32_f32((float)(v37 / 500.0) * 100.0), 0); v40 = GameManager::sharedState(); GameManager::reportAchievementWithID( v40, "geometry.ach.rateDiff03", vcvtms_s32_f32((float)(v37 / 1000.0) * 100.0), 0); v41 = vcvtms_s32_f32((float)(v37 / 2000.0) * 100.0); v34 = GameManager::sharedState(); v36 = "geometry.ach.rateDiff04"; goto LABEL_82; case 12: v74 = GameStatsManager::getStat(a1, a2); if ( v74 >= 1 ) { v75 = GameManager::sharedState(); GameManager::reportAchievementWithID(v75, "geometry.ach.usercoins01", 100, 0); } v76 = GameManager::sharedState(); GameManager::reportAchievementWithID( v76, "geometry.ach.usercoins02", vcvtms_s32_f32((float)((float)v74 / 10.0) * 100.0), 0); v77 = GameManager::sharedState(); GameManager::reportAchievementWithID( v77, "geometry.ach.usercoins03", vcvtms_s32_f32((float)((float)v74 / 20.0) * 100.0), 0); v78 = GameManager::sharedState(); GameManager::reportAchievementWithID( v78, "geometry.ach.usercoins04", vcvtms_s32_f32((float)((float)v74 / 30.0) * 100.0), 0); v79 = GameManager::sharedState(); GameManager::reportAchievementWithID( v79, "geometry.ach.usercoins05", vcvtms_s32_f32((float)((float)v74 / 40.0) * 100.0), 0); v80 = GameManager::sharedState(); GameManager::reportAchievementWithID( v80, "geometry.ach.usercoins06", vcvtms_s32_f32((float)((float)v74 / 50.0) * 100.0), 0); v81 = GameManager::sharedState(); GameManager::reportAchievementWithID( v81, "geometry.ach.usercoins07", vcvtms_s32_f32((float)((float)v74 / 60.0) * 100.0), 0); v82 = GameManager::sharedState(); GameManager::reportAchievementWithID( v82, "geometry.ach.usercoins08", vcvtms_s32_f32((float)((float)v74 / 70.0) * 100.0), 0); v83 = GameManager::sharedState(); GameManager::reportAchievementWithID( v83, "geometry.ach.usercoins09", vcvtms_s32_f32((float)((float)v74 / 80.0) * 100.0), 0); v84 = GameManager::sharedState(); GameManager::reportAchievementWithID( v84, "geometry.ach.usercoins10", vcvtms_s32_f32((float)((float)v74 / 90.0) * 100.0), 0); v85 = GameManager::sharedState(); GameManager::reportAchievementWithID( v85, "geometry.ach.usercoins11", vcvtms_s32_f32((float)((float)v74 / 100.0) * 100.0), 0); v86 = GameManager::sharedState(); GameManager::reportAchievementWithID( v86, "geometry.ach.usercoins12", vcvtms_s32_f32((float)((float)v74 / 110.0) * 100.0), 0); v87 = GameManager::sharedState(); GameManager::reportAchievementWithID( v87, "geometry.ach.usercoins13", vcvtms_s32_f32((float)((float)v74 / 120.0) * 100.0), 0); v88 = GameManager::sharedState(); GameManager::reportAchievementWithID( v88, "geometry.ach.usercoins14", vcvtms_s32_f32((float)((float)v74 / 130.0) * 100.0), 0); v89 = GameManager::sharedState(); GameManager::reportAchievementWithID( v89, "geometry.ach.usercoins15", vcvtms_s32_f32((float)((float)v74 / 140.0) * 100.0), 0); v90 = GameManager::sharedState(); GameManager::reportAchievementWithID( v90, "geometry.ach.usercoins16", vcvtms_s32_f32((float)((float)v74 / 150.0) * 100.0), 0); v91 = GameManager::sharedState(); GameManager::reportAchievementWithID( v91, "geometry.ach.usercoins17", vcvtms_s32_f32((float)((float)v74 / 160.0) * 100.0), 0); v92 = GameManager::sharedState(); GameManager::reportAchievementWithID( v92, "geometry.ach.usercoins18", vcvtms_s32_f32((float)((float)v74 / 170.0) * 100.0), 0); v93 = GameManager::sharedState(); GameManager::reportAchievementWithID( v93, "geometry.ach.usercoins19", vcvtms_s32_f32((float)((float)v74 / 180.0) * 100.0), 0); v94 = GameManager::sharedState(); GameManager::reportAchievementWithID( v94, "geometry.ach.usercoins20", vcvtms_s32_f32((float)((float)v74 / 190.0) * 100.0), 0); v95 = GameManager::sharedState(); GameManager::reportAchievementWithID( v95, "geometry.ach.usercoins21", vcvtms_s32_f32((float)((float)v74 / 200.0) * 100.0), 0); v96 = GameManager::sharedState(); GameManager::reportAchievementWithID( v96, "geometry.ach.usercoins22", vcvtms_s32_f32((float)((float)v74 / 225.0) * 100.0), 0); v97 = GameManager::sharedState(); GameManager::reportAchievementWithID( v97, "geometry.ach.usercoins23", vcvtms_s32_f32((float)((float)v74 / 250.0) * 100.0), 0); v98 = GameManager::sharedState(); GameManager::reportAchievementWithID( v98, "geometry.ach.usercoins24", vcvtms_s32_f32((float)((float)v74 / 300.0) * 100.0), 0); v99 = GameManager::sharedState(); GameManager::reportAchievementWithID( v99, "geometry.ach.usercoins25", vcvtms_s32_f32((float)((float)v74 / 350.0) * 100.0), 0); v100 = GameManager::sharedState(); GameManager::reportAchievementWithID( v100, "geometry.ach.usercoins26", vcvtms_s32_f32((float)((float)v74 / 425.0) * 100.0), 0); v101 = GameManager::sharedState(); GameManager::reportAchievementWithID( v101, "geometry.ach.usercoins27", vcvtms_s32_f32((float)((float)v74 / 500.0) * 100.0), 0); v102 = GameManager::sharedState(); GameManager::reportAchievementWithID( v102, "geometry.ach.usercoins28", vcvtms_s32_f32((float)((float)v74 / 600.0) * 100.0), 0); v103 = GameManager::sharedState(); GameManager::reportAchievementWithID( v103, "geometry.ach.usercoins29", vcvtms_s32_f32((float)((float)v74 / 700.0) * 100.0), 0); v104 = GameManager::sharedState(); GameManager::reportAchievementWithID( v104, "geometry.ach.usercoins30", vcvtms_s32_f32((float)((float)v74 / 800.0) * 100.0), 0); v105 = GameManager::sharedState(); GameManager::reportAchievementWithID( v105, "geometry.ach.usercoins31", vcvtms_s32_f32((float)((float)v74 / 900.0) * 100.0), 0); v106 = GameManager::sharedState(); GameManager::reportAchievementWithID( v106, "geometry.ach.usercoins32", vcvtms_s32_f32((float)((float)v74 / 1000.0) * 100.0), 0); v107 = GameManager::sharedState(); GameManager::reportAchievementWithID( v107, "geometry.ach.usercoins33", vcvtms_s32_f32((float)((float)v74 / 1200.0) * 100.0), 0); v108 = GameManager::sharedState(); GameManager::reportAchievementWithID( v108, "geometry.ach.usercoins34", vcvtms_s32_f32((float)((float)v74 / 1400.0) * 100.0), 0); v109 = GameManager::sharedState(); GameManager::reportAchievementWithID( v109, "geometry.ach.usercoins35", vcvtms_s32_f32((float)((float)v74 / 1600.0) * 100.0), 0); v110 = GameManager::sharedState(); GameManager::reportAchievementWithID( v110, "geometry.ach.usercoins36", vcvtms_s32_f32((float)((float)v74 / 1800.0) * 100.0), 0); v111 = GameManager::sharedState(); GameManager::reportAchievementWithID( v111, "geometry.ach.usercoins37", vcvtms_s32_f32((float)((float)v74 / 2000.0) * 100.0), 0); v112 = GameManager::sharedState(); GameManager::reportAchievementWithID( v112, "geometry.ach.usercoins38", vcvtms_s32_f32((float)((float)v74 / 2300.0) * 100.0), 0); v113 = GameManager::sharedState(); GameManager::reportAchievementWithID( v113, "geometry.ach.usercoins39", vcvtms_s32_f32((float)((float)v74 / 2600.0) * 100.0), 0); v34 = GameManager::sharedState(); v35 = vcvtms_s32_f32((float)((float)v74 / 3000.0) * 100.0); v36 = "geometry.ach.usercoins40"; goto LABEL_93; case 13: v198 = (float)(int)GameStatsManager::getStat(a1, a2); v199 = GameManager::sharedState(); GameManager::reportAchievementWithID( v199, "geometry.ach.diamonds01", vcvtms_s32_f32((float)(v198 / 100.0) * 100.0), 0); v200 = GameManager::sharedState(); GameManager::reportAchievementWithID( v200, "geometry.ach.diamonds02", vcvtms_s32_f32((float)(v198 / 250.0) * 100.0), 0); v201 = GameManager::sharedState(); GameManager::reportAchievementWithID( v201, "geometry.ach.diamonds03", vcvtms_s32_f32((float)(v198 / 500.0) * 100.0), 0); v202 = GameManager::sharedState(); GameManager::reportAchievementWithID( v202, "geometry.ach.diamonds04", vcvtms_s32_f32((float)(v198 / 1000.0) * 100.0), 0); v203 = GameManager::sharedState(); GameManager::reportAchievementWithID( v203, "geometry.ach.diamonds05", vcvtms_s32_f32((float)(v198 / 1500.0) * 100.0), 0); v204 = GameManager::sharedState(); GameManager::reportAchievementWithID( v204, "geometry.ach.diamonds06", vcvtms_s32_f32((float)(v198 / 2000.0) * 100.0), 0); v205 = GameManager::sharedState(); GameManager::reportAchievementWithID( v205, "geometry.ach.diamonds07", vcvtms_s32_f32((float)(v198 / 2500.0) * 100.0), 0); v206 = GameManager::sharedState(); GameManager::reportAchievementWithID( v206, "geometry.ach.diamonds08", vcvtms_s32_f32((float)(v198 / 3000.0) * 100.0), 0); v207 = GameManager::sharedState(); GameManager::reportAchievementWithID( v207, "geometry.ach.diamonds09", vcvtms_s32_f32((float)(v198 / 4000.0) * 100.0), 0); v208 = GameManager::sharedState(); GameManager::reportAchievementWithID( v208, "geometry.ach.diamonds10", vcvtms_s32_f32((float)(v198 / 5000.0) * 100.0), 0); v209 = GameManager::sharedState(); GameManager::reportAchievementWithID( v209, "geometry.ach.diamonds11", vcvtms_s32_f32((float)(v198 / 6000.0) * 100.0), 0); v210 = GameManager::sharedState(); GameManager::reportAchievementWithID( v210, "geometry.ach.diamonds12", vcvtms_s32_f32((float)(v198 / 7000.0) * 100.0), 0); v211 = GameManager::sharedState(); GameManager::reportAchievementWithID( v211, "geometry.ach.diamonds13", vcvtms_s32_f32((float)(v198 / 9000.0) * 100.0), 0); v212 = GameManager::sharedState(); GameManager::reportAchievementWithID( v212, "geometry.ach.diamonds14", vcvtms_s32_f32((float)(v198 / 11000.0) * 100.0), 0); v213 = GameManager::sharedState(); GameManager::reportAchievementWithID( v213, "geometry.ach.diamonds15", vcvtms_s32_f32((float)(v198 / 14000.0) * 100.0), 0); v214 = GameManager::sharedState(); GameManager::reportAchievementWithID( v214, "geometry.ach.diamonds16", vcvtms_s32_f32((float)(v198 / 17000.0) * 100.0), 0); v215 = GameManager::sharedState(); GameManager::reportAchievementWithID( v215, "geometry.ach.diamonds17", vcvtms_s32_f32((float)(v198 / 20000.0) * 100.0), 0); v34 = GameManager::sharedState(); v35 = vcvtms_s32_f32((float)(v198 / 25000.0) * 100.0); v36 = "geometry.ach.diamonds18"; goto LABEL_93; case 15: v191 = GameStatsManager::getStat(a1, a2); if ( v191 >= 1 ) { v192 = GameManager::sharedState(); GameManager::reportAchievementWithID(v192, "geometry.ach.daily01", 100, 0); } v193 = GameManager::sharedState(); GameManager::reportAchievementWithID( v193, "geometry.ach.daily02", vcvtms_s32_f32((float)((float)v191 / 25.0) * 100.0), 0); v194 = GameManager::sharedState(); GameManager::reportAchievementWithID( v194, "geometry.ach.daily03", vcvtms_s32_f32((float)((float)v191 / 50.0) * 100.0), 0); v195 = GameManager::sharedState(); GameManager::reportAchievementWithID( v195, "geometry.ach.daily04", vcvtms_s32_f32((float)((float)v191 / 100.0) * 100.0), 0); v196 = GameManager::sharedState(); GameManager::reportAchievementWithID( v196, "geometry.ach.daily05", vcvtms_s32_f32((float)((float)v191 / 150.0) * 100.0), 0); v197 = GameManager::sharedState(); GameManager::reportAchievementWithID( v197, "geometry.ach.daily06", vcvtms_s32_f32((float)((float)v191 / 250.0) * 100.0), 0); v34 = GameManager::sharedState(); v35 = vcvtms_s32_f32((float)((float)v191 / 365.0) * 100.0); v36 = "geometry.ach.daily07"; goto LABEL_93; case 16: v10 = "geometry.ach.shardShadow05"; v11 = "geometry.ach.shardShadow04"; v12 = "geometry.ach.shardShadow03"; v13 = "geometry.ach.shardShadow02"; v14 = "geometry.ach.shardShadow01"; goto LABEL_73; case 17: v10 = "geometry.ach.shardPoison05"; v11 = "geometry.ach.shardPoison04"; v12 = "geometry.ach.shardPoison03"; v13 = "geometry.ach.shardPoison02"; v14 = "geometry.ach.shardPoison01"; goto LABEL_73; case 18: goto LABEL_73; case 19: v10 = "geometry.ach.shardIce05"; v11 = "geometry.ach.shardIce04"; v12 = "geometry.ach.shardIce03"; v13 = "geometry.ach.shardIce02"; v14 = "geometry.ach.shardIce01"; goto LABEL_73; case 20: v10 = "geometry.ach.shardLava05"; v11 = "geometry.ach.shardLava04"; v12 = "geometry.ach.shardLava03"; v13 = "geometry.ach.shardLava02"; v14 = "geometry.ach.shardLava01"; LABEL_73: v300 = (char *)v10; v301 = (char *)v11; v302 = GameStatsManager::getStat(a1, a2); v303 = GameManager::sharedState(); GameManager::reportAchievementWithID(v303, v14, vcvtms_s32_f32((float)(v302 / 5) * 100.0), 0); v304 = GameManager::sharedState(); GameManager::reportAchievementWithID(v304, v13, vcvtms_s32_f32((float)(v302 / 15) * 100.0), 0); v305 = GameManager::sharedState(); GameManager::reportAchievementWithID(v305, v12, vcvtms_s32_f32((float)(v302 / 35) * 100.0), 0); v306 = GameManager::sharedState(); GameManager::reportAchievementWithID(v306, v301, vcvtms_s32_f32((float)(v302 / 65) * 100.0), 0); v307 = GameManager::sharedState(); GameManager::reportAchievementWithID(v307, v300, vcvtms_s32_f32((float)(v302 / 100) * 100.0), 0); v308 = GameStatsManager::getStat(a1, "18"); if ( v308 > (int)GameStatsManager::getStat(a1, "19") ) v308 = GameStatsManager::getStat(a1, "19"); if ( v308 > (int)GameStatsManager::getStat(a1, "17") ) v308 = GameStatsManager::getStat(a1, "17"); if ( v308 > (int)GameStatsManager::getStat(a1, "16") ) v308 = GameStatsManager::getStat(a1, "16"); if ( v308 > (int)GameStatsManager::getStat(a1, "20") ) v308 = GameStatsManager::getStat(a1, "20"); v309 = GameManager::sharedState(); GameManager::reportAchievementWithID( v309, "geometry.ach.shardBonus01", vcvtms_s32_f32((float)(v308 / 5) * 100.0), 0); v310 = GameManager::sharedState(); GameManager::reportAchievementWithID( v310, "geometry.ach.shardBonus02", vcvtms_s32_f32((float)(v308 / 15) * 100.0), 0); v311 = GameManager::sharedState(); GameManager::reportAchievementWithID( v311, "geometry.ach.shardBonus03", vcvtms_s32_f32((float)(v308 / 35) * 100.0), 0); v312 = GameManager::sharedState(); GameManager::reportAchievementWithID( v312, "geometry.ach.shardBonus04", vcvtms_s32_f32((float)(v308 / 65) * 100.0), 0); v41 = vcvtms_s32_f32((float)(v308 / 100) * 100.0); v34 = GameManager::sharedState(); v36 = "geometry.ach.shardBonus05"; LABEL_82: v35 = v41; goto LABEL_93; case 23: goto LABEL_84; case 24: v5 = "geometry.ach.shardBlood05"; v6 = "geometry.ach.shardBlood04"; v7 = "geometry.ach.shardBlood03"; v8 = "geometry.ach.shardBlood02"; v9 = "geometry.ach.shardBlood01"; goto LABEL_84; case 25: v5 = "geometry.ach.shardMetal05"; v6 = "geometry.ach.shardMetal04"; v7 = "geometry.ach.shardMetal03"; v8 = "geometry.ach.shardMetal02"; v9 = "geometry.ach.shardMetal01"; goto LABEL_84; case 26: v5 = "geometry.ach.shardLight05"; v6 = "geometry.ach.shardLight04"; v7 = "geometry.ach.shardLight03"; v8 = "geometry.ach.shardLight02"; v9 = "geometry.ach.shardLight01"; goto LABEL_84; case 27: v5 = "geometry.ach.shardSoul05"; v6 = "geometry.ach.shardSoul04"; v7 = "geometry.ach.shardSoul03"; v8 = "geometry.ach.shardSoul02"; v9 = "geometry.ach.shardSoul01"; LABEL_84: v313 = (char *)v5; v314 = GameStatsManager::getStat(a1, a2); v315 = GameManager::sharedState(); GameManager::reportAchievementWithID(v315, v9, vcvtms_s32_f32((float)((float)v314 / 5.0) * 100.0), 0); v316 = GameManager::sharedState(); GameManager::reportAchievementWithID(v316, v8, vcvtms_s32_f32((float)((float)v314 / 15.0) * 100.0), 0); v317 = GameManager::sharedState(); GameManager::reportAchievementWithID(v317, v7, vcvtms_s32_f32((float)((float)v314 / 35.0) * 100.0), 0); v318 = GameManager::sharedState(); GameManager::reportAchievementWithID(v318, v6, vcvtms_s32_f32((float)((float)v314 / 65.0) * 100.0), 0); v319 = GameManager::sharedState(); GameManager::reportAchievementWithID(v319, v313, vcvtms_s32_f32((float)((float)v314 / 100.0) * 100.0), 0); v320 = GameStatsManager::getStat(a1, "23"); if ( v320 > (int)GameStatsManager::getStat(a1, "24") ) v320 = GameStatsManager::getStat(a1, "24"); if ( v320 > (int)GameStatsManager::getStat(a1, "25") ) v320 = GameStatsManager::getStat(a1, "25"); if ( v320 > (int)GameStatsManager::getStat(a1, "26") ) v320 = GameStatsManager::getStat(a1, "26"); if ( v320 > (int)GameStatsManager::getStat(a1, "27") ) v320 = GameStatsManager::getStat(a1, "27"); v321 = GameManager::sharedState(); GameManager::reportAchievementWithID( v321, "geometry.ach.shardBonusB01", vcvtms_s32_f32((float)((float)v320 / 5.0) * 100.0), 0); v322 = GameManager::sharedState(); GameManager::reportAchievementWithID( v322, "geometry.ach.shardBonusB02", vcvtms_s32_f32((float)((float)v320 / 15.0) * 100.0), 0); v323 = GameManager::sharedState(); GameManager::reportAchievementWithID( v323, "geometry.ach.shardBonusB03", vcvtms_s32_f32((float)((float)v320 / 35.0) * 100.0), 0); v324 = GameManager::sharedState(); GameManager::reportAchievementWithID( v324, "geometry.ach.shardBonusB04", vcvtms_s32_f32((float)((float)v320 / 65.0) * 100.0), 0); v34 = GameManager::sharedState(); v35 = vcvtms_s32_f32((float)((float)v320 / 100.0) * 100.0); v36 = "geometry.ach.shardBonusB05"; goto LABEL_93; case 28: v42 = (float)(int)GameStatsManager::getStat(a1, a2); v43 = GameManager::sharedState(); GameManager::reportAchievementWithID(v43, "geometry.ach.moons01", vcvtms_s32_f32((float)(v42 / 100.0) * 100.0), 0); v44 = GameManager::sharedState(); GameManager::reportAchievementWithID(v44, "geometry.ach.moons02", vcvtms_s32_f32((float)(v42 / 200.0) * 100.0), 0); v45 = GameManager::sharedState(); GameManager::reportAchievementWithID(v45, "geometry.ach.moons03", vcvtms_s32_f32((float)(v42 / 300.0) * 100.0), 0); v46 = GameManager::sharedState(); GameManager::reportAchievementWithID(v46, "geometry.ach.moons04", vcvtms_s32_f32((float)(v42 / 400.0) * 100.0), 0); v47 = GameManager::sharedState(); GameManager::reportAchievementWithID(v47, "geometry.ach.moons05", vcvtms_s32_f32((float)(v42 / 500.0) * 100.0), 0); v48 = GameManager::sharedState(); GameManager::reportAchievementWithID(v48, "geometry.ach.moons06", vcvtms_s32_f32((float)(v42 / 600.0) * 100.0), 0); v49 = GameManager::sharedState(); GameManager::reportAchievementWithID(v49, "geometry.ach.moons07", vcvtms_s32_f32((float)(v42 / 700.0) * 100.0), 0); v50 = GameManager::sharedState(); GameManager::reportAchievementWithID(v50, "geometry.ach.moons08", vcvtms_s32_f32((float)(v42 / 800.0) * 100.0), 0); v51 = GameManager::sharedState(); GameManager::reportAchievementWithID(v51, "geometry.ach.moons09", vcvtms_s32_f32((float)(v42 / 900.0) * 100.0), 0); v52 = GameManager::sharedState(); GameManager::reportAchievementWithID( v52, "geometry.ach.moons10", vcvtms_s32_f32((float)(v42 / 1000.0) * 100.0), 0); v53 = GameManager::sharedState(); GameManager::reportAchievementWithID( v53, "geometry.ach.moons11", vcvtms_s32_f32((float)(v42 / 1500.0) * 100.0), 0); v54 = GameManager::sharedState(); GameManager::reportAchievementWithID( v54, "geometry.ach.moons12", vcvtms_s32_f32((float)(v42 / 2000.0) * 100.0), 0); v55 = GameManager::sharedState(); GameManager::reportAchievementWithID( v55, "geometry.ach.moons13", vcvtms_s32_f32((float)(v42 / 2500.0) * 100.0), 0); v56 = GameManager::sharedState(); GameManager::reportAchievementWithID( v56, "geometry.ach.moons14", vcvtms_s32_f32((float)(v42 / 3000.0) * 100.0), 0); v57 = GameManager::sharedState(); GameManager::reportAchievementWithID( v57, "geometry.ach.moons15", vcvtms_s32_f32((float)(v42 / 3500.0) * 100.0), 0); v58 = GameManager::sharedState(); GameManager::reportAchievementWithID( v58, "geometry.ach.moons16", vcvtms_s32_f32((float)(v42 / 4000.0) * 100.0), 0); v59 = GameManager::sharedState(); GameManager::reportAchievementWithID( v59, "geometry.ach.moons17", vcvtms_s32_f32((float)(v42 / 4500.0) * 100.0), 0); v60 = GameManager::sharedState(); GameManager::reportAchievementWithID( v60, "geometry.ach.moons18", vcvtms_s32_f32((float)(v42 / 5000.0) * 100.0), 0); v61 = GameManager::sharedState(); GameManager::reportAchievementWithID( v61, "geometry.ach.moons19", vcvtms_s32_f32((float)(v42 / 5500.0) * 100.0), 0); v62 = GameManager::sharedState(); GameManager::reportAchievementWithID( v62, "geometry.ach.moons20", vcvtms_s32_f32((float)(v42 / 6000.0) * 100.0), 0); v63 = GameManager::sharedState(); GameManager::reportAchievementWithID( v63, "geometry.ach.moons21", vcvtms_s32_f32((float)(v42 / 6500.0) * 100.0), 0); v64 = GameManager::sharedState(); GameManager::reportAchievementWithID( v64, "geometry.ach.moons22", vcvtms_s32_f32((float)(v42 / 7000.0) * 100.0), 0); v65 = GameManager::sharedState(); GameManager::reportAchievementWithID( v65, "geometry.ach.moons23", vcvtms_s32_f32((float)(v42 / 7500.0) * 100.0), 0); v66 = GameManager::sharedState(); GameManager::reportAchievementWithID( v66, "geometry.ach.moons24", vcvtms_s32_f32((float)(v42 / 8000.0) * 100.0), 0); v67 = GameManager::sharedState(); GameManager::reportAchievementWithID( v67, "geometry.ach.moons25", vcvtms_s32_f32((float)(v42 / 9000.0) * 100.0), 0); v34 = GameManager::sharedState(); v35 = vcvtms_s32_f32((float)(v42 / 10000.0) * 100.0); v36 = "geometry.ach.moons26"; goto LABEL_93; case 30: case 31: case 32: case 33: case 34: case 35: case 36: case 37: case 38: case 39: v15 = v4; v16 = (float)(int)GameStatsManager::getStat(a1, a2); v17 = 1; for ( i = 100; i != 1100; i += 100 ) { v19 = sub_1003065B0("geometry.ach.path%02d.%02d", v15 - 29, v17); CString = (char *)cocos2d::CCString::getCString((__int64)v19); sub_100009900(__p, CString); v21 = GameManager::sharedState(); v22 = vcvtms_s32_f32((float)(v16 / (float)i) * 100.0); if ( v339 >= 0 ) v23 = (char *)__p; else v23 = (char *)__p[0]; GameManager::reportAchievementWithID(v21, v23, v22, 0); if ( v339 < 0 ) operator delete(__p[0]); ++v17; } return; case 40: v248 = GameStatsManager::getStat(a1, a2); if ( v248 >= 1 ) { v249 = GameManager::sharedState(); GameManager::reportAchievementWithID(v249, "geometry.ach.gauntlets01", 100, 0); } v250 = GameManager::sharedState(); GameManager::reportAchievementWithID( v250, "geometry.ach.gauntlets02", vcvtms_s32_f32((float)((float)v248 / 5.0) * 100.0), 0); v251 = GameManager::sharedState(); GameManager::reportAchievementWithID( v251, "geometry.ach.gauntlets03", vcvtms_s32_f32((float)((float)v248 / 10.0) * 100.0), 0); v34 = GameManager::sharedState(); v35 = vcvtms_s32_f32((float)((float)v248 / 15.0) * 100.0); v36 = "geometry.ach.gauntlets04"; goto LABEL_93; case 41: v325 = GameStatsManager::getStat(a1, a2); if ( v325 >= 1 ) { v326 = GameManager::sharedState(); GameManager::reportAchievementWithID(v326, "geometry.ach.lists01", 100, 0); } v327 = GameManager::sharedState(); GameManager::reportAchievementWithID( v327, "geometry.ach.lists02", vcvtms_s32_f32((float)((float)v325 / 10.0) * 100.0), 0); v328 = GameManager::sharedState(); GameManager::reportAchievementWithID( v328, "geometry.ach.lists03", vcvtms_s32_f32((float)((float)v325 / 25.0) * 100.0), 0); v329 = GameManager::sharedState(); GameManager::reportAchievementWithID( v329, "geometry.ach.lists04", vcvtms_s32_f32((float)((float)v325 / 50.0) * 100.0), 0); v330 = GameManager::sharedState(); GameManager::reportAchievementWithID( v330, "geometry.ach.lists05", vcvtms_s32_f32((float)((float)v325 / 100.0) * 100.0), 0); v331 = GameManager::sharedState(); GameManager::reportAchievementWithID( v331, "geometry.ach.lists06", vcvtms_s32_f32((float)((float)v325 / 150.0) * 100.0), 0); v34 = GameManager::sharedState(); v35 = vcvtms_s32_f32((float)((float)v325 / 200.0) * 100.0); v36 = "geometry.ach.lists07"; goto LABEL_93; case 42: v24 = (float)(int)GameStatsManager::getStat(a1, a2); v25 = GameManager::sharedState(); GameManager::reportAchievementWithID(v25, "geometry.ach.insane01", vcvtms_s32_f32((float)(v24 / 5.0) * 100.0), 0); v26 = GameManager::sharedState(); GameManager::reportAchievementWithID(v26, "geometry.ach.insane02", vcvtms_s32_f32((float)(v24 / 10.0) * 100.0), 0); v27 = GameManager::sharedState(); GameManager::reportAchievementWithID(v27, "geometry.ach.insane03", vcvtms_s32_f32((float)(v24 / 25.0) * 100.0), 0); v28 = GameManager::sharedState(); GameManager::reportAchievementWithID(v28, "geometry.ach.insane04", vcvtms_s32_f32((float)(v24 / 50.0) * 100.0), 0); v29 = GameManager::sharedState(); GameManager::reportAchievementWithID(v29, "geometry.ach.insane05", vcvtms_s32_f32((float)(v24 / 75.0) * 100.0), 0); v30 = GameManager::sharedState(); GameManager::reportAchievementWithID( v30, "geometry.ach.insane06", vcvtms_s32_f32((float)(v24 / 100.0) * 100.0), 0); v31 = GameManager::sharedState(); GameManager::reportAchievementWithID( v31, "geometry.ach.insane07", vcvtms_s32_f32((float)(v24 / 200.0) * 100.0), 0); v32 = GameManager::sharedState(); GameManager::reportAchievementWithID( v32, "geometry.ach.insane08", vcvtms_s32_f32((float)(v24 / 300.0) * 100.0), 0); v33 = GameManager::sharedState(); GameManager::reportAchievementWithID( v33, "geometry.ach.insane09", vcvtms_s32_f32((float)(v24 / 400.0) * 100.0), 0); v34 = GameManager::sharedState(); v35 = vcvtms_s32_f32((float)(v24 / 500.0) * 100.0); v36 = "geometry.ach.insane10"; goto LABEL_93; case 44: if ( (int)GameStatsManager::getStat(a1, a2) < 1 ) return; v34 = GameManager::sharedState(); v36 = "geometry.ach.hyped01"; v35 = 100; LABEL_93: GameManager::reportAchievementWithID(v34, v36, v35, 0); return; default: return; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source