{"type": "func", "start": 4295413232, "end": 4295414348, "name": "GameStatsManager::checkCoinAchievement", "pseudocode": "// \n// GameStatsManager::checkCoinAchievement from 0x10006cdf0 to 0x10006d24c (1116 bytes)\n// \n// 4 xrefs:\n// > PlayLayer::levelComplete @ 0x1000b3d3e\n// > GameManager::dataLoaded @ 0x10038a35e\n// > GameManager::dataLoaded @ 0x10038a385\n// > GameManager::dataLoaded @ 0x10038a3ac\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall GameStatsManager::checkCoinAchievement(GameStatsManager *a1, GJGameLevel *a2)\n{\n  __m128 v2; // xmm0\n  int v3; // eax\n  const char *CoinKey; // rax\n  _BOOL4 hasSecretCoin; // r15d\n  const char *v6; // rax\n  int v7; // r12d\n  const char *v8; // rax\n  int v9; // ebx\n  GameManager *v10; // rax\n  int v11; // edx\n  const char *v12; // rsi\n  const char *v13; // rax\n  _BOOL4 v14; // r15d\n  const char *v15; // rax\n  int v16; // r12d\n  const char *v17; // rax\n  int v18; // ebx\n  GameManager *v19; // rax\n  const char *v20; // rax\n  _BOOL4 v21; // r15d\n  const char *v22; // rax\n  int v23; // r12d\n  const char *v24; // rax\n  const char *v25; // rax\n  _BOOL4 v26; // r15d\n  const char *v27; // rax\n  int v28; // r12d\n  const char *v29; // rax\n  int v30; // ebx\n  const char *v31; // rax\n  _BOOL4 v32; // r15d\n  const char *v33; // rax\n  int v34; // r12d\n  const char *v35; // rax\n  int v36; // ebx\n  const char *v37; // rax\n  _BOOL4 v38; // r15d\n  const char *v39; // rax\n  int v40; // r12d\n  const char *v41; // rax\n  int v42; // ebx\n  GameManager *v43; // rdi\n  const char *v44; // rax\n  _BOOL4 v45; // r15d\n  const char *v46; // rax\n  int v47; // r12d\n  const char *v48; // rax\n\n  if ( a2->m_levelType == Main )\n  {\n    v3 = a2->m_levelID.random - a2->m_levelID.seed;\n    if ( v3 > 5000 )\n    {\n      switch ( v3 )\n      {\n        case 5001:\n          CoinKey = GJGameLevel::getCoinKey(a2, 1);\n          hasSecretCoin = GameStatsManager::hasSecretCoin(a1, CoinKey);\n          v6 = GJGameLevel::getCoinKey(a2, 2);\n          v7 = hasSecretCoin + GameStatsManager::hasSecretCoin(a1, v6);\n          v8 = GJGameLevel::getCoinKey(a2, 3);\n          v9 = v7 + GameStatsManager::hasSecretCoin(a1, v8);\n          v10 = GameManager::sharedState();\n          v2.f32[0] = (float)((float)v9 / 3.0) * 100.0;\n          v11 = (int)_mm_round_ss(v2, v2, 9).f32[0];\n          v12 = \"geometry.ach.tower01Coin\";\n          goto LABEL_14;\n        case 5002:\n          v37 = GJGameLevel::getCoinKey(a2, 1);\n          v38 = GameStatsManager::hasSecretCoin(a1, v37);\n          v39 = GJGameLevel::getCoinKey(a2, 2);\n          v40 = v38 + GameStatsManager::hasSecretCoin(a1, v39);\n          v41 = GJGameLevel::getCoinKey(a2, 3);\n          v42 = v40 + GameStatsManager::hasSecretCoin(a1, v41);\n          v10 = GameManager::sharedState();\n          v2.f32[0] = (float)((float)v42 / 3.0) * 100.0;\n          v11 = (int)_mm_round_ss(v2, v2, 9).f32[0];\n          v12 = \"geometry.ach.tower02Coin\";\n          goto LABEL_14;\n        case 5003:\n          v25 = GJGameLevel::getCoinKey(a2, 1);\n          v26 = GameStatsManager::hasSecretCoin(a1, v25);\n          v27 = GJGameLevel::getCoinKey(a2, 2);\n          v28 = v26 + GameStatsManager::hasSecretCoin(a1, v27);\n          v29 = GJGameLevel::getCoinKey(a2, 3);\n          v30 = v28 + GameStatsManager::hasSecretCoin(a1, v29);\n          v10 = GameManager::sharedState();\n          v2.f32[0] = (float)((float)v30 / 3.0) * 100.0;\n          v11 = (int)_mm_round_ss(v2, v2, 9).f32[0];\n          v12 = \"geometry.ach.tower03Coin\";\n          goto LABEL_14;\n        case 5004:\n          v31 = GJGameLevel::getCoinKey(a2, 1);\n          v32 = GameStatsManager::hasSecretCoin(a1, v31);\n          v33 = GJGameLevel::getCoinKey(a2, 2);\n          v34 = v32 + GameStatsManager::hasSecretCoin(a1, v33);\n          v35 = GJGameLevel::getCoinKey(a2, 3);\n          v36 = v34 + GameStatsManager::hasSecretCoin(a1, v35);\n          v10 = GameManager::sharedState();\n          v2.f32[0] = (float)((float)v36 / 3.0) * 100.0;\n          v11 = (int)_mm_round_ss(v2, v2, 9).f32[0];\n          v12 = \"geometry.ach.tower04Coin\";\nLABEL_14:\n          v43 = v10;\n          goto LABEL_17;\n        default:\n          return;\n      }\n    }\n    switch ( v3 )\n    {\n      case 14:\n        v20 = GJGameLevel::getCoinKey(a2, 1);\n        v21 = GameStatsManager::hasSecretCoin(a1, v20);\n        v22 = GJGameLevel::getCoinKey(a2, 2);\n        v23 = v21 + GameStatsManager::hasSecretCoin(a1, v22);\n        v24 = GJGameLevel::getCoinKey(a2, 3);\n        v2.f32[0] = (float)((float)(v23 + GameStatsManager::hasSecretCoin(a1, v24)) / 3.0) * 100.0;\n        v18 = (int)fminf(_mm_round_ss(v2, v2, 9).f32[0], 100.0);\n        v19 = GameManager::sharedState();\n        v12 = \"geometry.ach.demoncoin01\";\n        break;\n      case 18:\n        v44 = GJGameLevel::getCoinKey(a2, 1);\n        v45 = GameStatsManager::hasSecretCoin(a1, v44);\n        v46 = GJGameLevel::getCoinKey(a2, 2);\n        v47 = v45 + GameStatsManager::hasSecretCoin(a1, v46);\n        v48 = GJGameLevel::getCoinKey(a2, 3);\n        v2.f32[0] = (float)((float)(v47 + GameStatsManager::hasSecretCoin(a1, v48)) / 3.0) * 100.0;\n        v18 = (int)fminf(_mm_round_ss(v2, v2, 9).f32[0], 100.0);\n        v19 = GameManager::sharedState();\n        v12 = \"geometry.ach.demoncoin02\";\n        break;\n      case 20:\n        v13 = GJGameLevel::getCoinKey(a2, 1);\n        v14 = GameStatsManager::hasSecretCoin(a1, v13);\n        v15 = GJGameLevel::getCoinKey(a2, 2);\n        v16 = v14 + GameStatsManager::hasSecretCoin(a1, v15);\n        v17 = GJGameLevel::getCoinKey(a2, 3);\n        v2.f32[0] = (float)((float)(v16 + GameStatsManager::hasSecretCoin(a1, v17)) / 3.0) * 100.0;\n        v18 = (int)fminf(_mm_round_ss(v2, v2, 9).f32[0], 100.0);\n        v19 = GameManager::sharedState();\n        v12 = \"geometry.ach.demoncoin03\";\n        break;\n      default:\n        return;\n    }\n    v43 = v19;\n    v11 = v18;\nLABEL_17:\n    GameManager::reportAchievementWithID(v43, v12, v11, 0);\n  }\n}", "assembly": "; \n; GameStatsManager::checkCoinAchievement from 0x10006cdf0 to 0x10006d24c (1116 bytes)\n; \n; 4 xrefs:\n; > PlayLayer::levelComplete @ 0x1000b3d3e\n; > GameManager::dataLoaded @ 0x10038a35e\n; > GameManager::dataLoaded @ 0x10038a385\n; > GameManager::dataLoaded @ 0x10038a3ac\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbp                                                            ; +0x0, 0x10006cdf0\nmov     rbp, rsp                                                       ; +0x1, 0x10006cdf1\npush    r15                                                            ; +0x4, 0x10006cdf4\npush    r14                                                            ; +0x6, 0x10006cdf6\npush    r12                                                            ; +0x8, 0x10006cdf8\npush    rbx                                                            ; +0xa, 0x10006cdfa\ncmp     dword ptr [rsi+404h], 1                                        ; +0xb, 0x10006cdfb\njnz     def_10006CE41; jumptable 000000010006CE41 default case         ; +0x12, 0x10006ce02\nmov     rbx, rsi                                                       ; +0x18, 0x10006ce08\nmov     eax, [rsi+148h]                                                ; +0x1b, 0x10006ce0b\nsub     eax, [rsi+14Ch]                                                ; +0x21, 0x10006ce11\ncmp     eax, 1388h                                                     ; +0x27, 0x10006ce17\njle     loc_10006CECB                                                  ; +0x2c, 0x10006ce1c\nadd     eax, 0FFFFEC77h; switch 4 cases                                ; +0x32, 0x10006ce22\ncmp     eax, 3                                                         ; +0x37, 0x10006ce27\nja      def_10006CE41; jumptable 000000010006CE41 default case         ; +0x3a, 0x10006ce2a\nmov     r14, rdi                                                       ; +0x40, 0x10006ce30\nlea     rcx, jpt_10006CE41                                             ; +0x43, 0x10006ce33\nmovsxd  rax, (jpt_10006CE41 - 10006D24Ch)[rcx+rax*4]                   ; +0x4a, 0x10006ce3a\nadd     rax, rcx                                                       ; +0x4e, 0x10006ce3e\njmp     rax; switch jump                                               ; +0x51, 0x10006ce41\nmov     rdi, rbx; jumptable 000000010006CE41 case 5001                 ; +0x53, 0x10006ce43\nmov     esi, 1                                                         ; +0x56, 0x10006ce46\ncall    GJGameLevel__getCoinKey                                        ; +0x5b, 0x10006ce4b\nmov     rdi, r14                                                       ; +0x60, 0x10006ce50\nmov     rsi, rax                                                       ; +0x63, 0x10006ce53\ncall    GameStatsManager__hasSecretCoin                                ; +0x66, 0x10006ce56\nmovzx   r15d, al                                                       ; +0x6b, 0x10006ce5b\nmov     rdi, rbx                                                       ; +0x6f, 0x10006ce5f\nmov     esi, 2                                                         ; +0x72, 0x10006ce62\ncall    GJGameLevel__getCoinKey                                        ; +0x77, 0x10006ce67\nmov     rdi, r14                                                       ; +0x7c, 0x10006ce6c\nmov     rsi, rax                                                       ; +0x7f, 0x10006ce6f\ncall    GameStatsManager__hasSecretCoin                                ; +0x82, 0x10006ce72\nmovzx   r12d, al                                                       ; +0x87, 0x10006ce77\nadd     r12d, r15d                                                     ; +0x8b, 0x10006ce7b\nmov     rdi, rbx                                                       ; +0x8e, 0x10006ce7e\nmov     esi, 3                                                         ; +0x91, 0x10006ce81\ncall    GJGameLevel__getCoinKey                                        ; +0x96, 0x10006ce86\nmov     rdi, r14                                                       ; +0x9b, 0x10006ce8b\nmov     rsi, rax                                                       ; +0x9e, 0x10006ce8e\ncall    GameStatsManager__hasSecretCoin                                ; +0xa1, 0x10006ce91\nmovzx   ebx, al                                                        ; +0xa6, 0x10006ce96\nadd     ebx, r12d                                                      ; +0xa9, 0x10006ce99\ncall    GameManager__sharedState                                       ; +0xac, 0x10006ce9c\ncvtsi2ss xmm0, ebx                                                     ; +0xb1, 0x10006cea1\ndivss   xmm0, cs:flt_100815320                                         ; +0xb5, 0x10006cea5\nmulss   xmm0, cs:dword_100815014                                       ; +0xbd, 0x10006cead\nroundss xmm0, xmm0, 9                                                  ; +0xc5, 0x10006ceb5\ncvttss2si edx, xmm0                                                    ; +0xcb, 0x10006cebb\nlea     rsi, aGeometryAchTow; \"geometry.ach.tower01Coin\"               ; +0xcf, 0x10006cebf\njmp     loc_10006D1A5                                                  ; +0xd6, 0x10006cec6\nmov     r14, rdi                                                       ; +0xdb, 0x10006cecb\ncmp     eax, 0Eh                                                       ; +0xde, 0x10006cece\njz      loc_10006CF82                                                  ; +0xe1, 0x10006ced1\ncmp     eax, 12h                                                       ; +0xe7, 0x10006ced7\njz      loc_10006D1AD                                                  ; +0xea, 0x10006ceda\ncmp     eax, 14h                                                       ; +0xf0, 0x10006cee0\njnz     def_10006CE41; jumptable 000000010006CE41 default case         ; +0xf3, 0x10006cee3\nmov     rdi, rbx                                                       ; +0xf9, 0x10006cee9\nmov     esi, 1                                                         ; +0xfc, 0x10006ceec\ncall    GJGameLevel__getCoinKey                                        ; +0x101, 0x10006cef1\nmov     rdi, r14                                                       ; +0x106, 0x10006cef6\nmov     rsi, rax                                                       ; +0x109, 0x10006cef9\ncall    GameStatsManager__hasSecretCoin                                ; +0x10c, 0x10006cefc\nmovzx   r15d, al                                                       ; +0x111, 0x10006cf01\nmov     rdi, rbx                                                       ; +0x115, 0x10006cf05\nmov     esi, 2                                                         ; +0x118, 0x10006cf08\ncall    GJGameLevel__getCoinKey                                        ; +0x11d, 0x10006cf0d\nmov     rdi, r14                                                       ; +0x122, 0x10006cf12\nmov     rsi, rax                                                       ; +0x125, 0x10006cf15\ncall    GameStatsManager__hasSecretCoin                                ; +0x128, 0x10006cf18\nmovzx   r12d, al                                                       ; +0x12d, 0x10006cf1d\nadd     r12d, r15d                                                     ; +0x131, 0x10006cf21\nmov     rdi, rbx                                                       ; +0x134, 0x10006cf24\nmov     esi, 3                                                         ; +0x137, 0x10006cf27\ncall    GJGameLevel__getCoinKey                                        ; +0x13c, 0x10006cf2c\nmov     rdi, r14                                                       ; +0x141, 0x10006cf31\nmov     rsi, rax                                                       ; +0x144, 0x10006cf34\ncall    GameStatsManager__hasSecretCoin                                ; +0x147, 0x10006cf37\nmovzx   eax, al                                                        ; +0x14c, 0x10006cf3c\nadd     eax, r12d                                                      ; +0x14f, 0x10006cf3f\ncvtsi2ss xmm0, eax                                                     ; +0x152, 0x10006cf42\ndivss   xmm0, cs:flt_100815320                                         ; +0x156, 0x10006cf46\nmovss   xmm1, cs:dword_100815014                                       ; +0x15e, 0x10006cf4e\nmulss   xmm0, xmm1                                                     ; +0x166, 0x10006cf56\nroundss xmm0, xmm0, 9                                                  ; +0x16a, 0x10006cf5a\nminss   xmm0, xmm1                                                     ; +0x170, 0x10006cf60\ncvttss2si ebx, xmm0                                                    ; +0x174, 0x10006cf64\ncall    GameManager__sharedState                                       ; +0x178, 0x10006cf68\nlea     rsi, aGeometryAchDem_28; \"geometry.ach.demoncoin03\"            ; +0x17d, 0x10006cf6d\njmp     loc_10006D238                                                  ; +0x184, 0x10006cf74\npop     rbx; jumptable 000000010006CE41 default case                   ; +0x189, 0x10006cf79\npop     r12                                                            ; +0x18a, 0x10006cf7a\npop     r14                                                            ; +0x18c, 0x10006cf7c\npop     r15                                                            ; +0x18e, 0x10006cf7e\npop     rbp                                                            ; +0x190, 0x10006cf80\nretn                                                                   ; +0x191, 0x10006cf81\nmov     rdi, rbx                                                       ; +0x192, 0x10006cf82\nmov     esi, 1                                                         ; +0x195, 0x10006cf85\ncall    GJGameLevel__getCoinKey                                        ; +0x19a, 0x10006cf8a\nmov     rdi, r14                                                       ; +0x19f, 0x10006cf8f\nmov     rsi, rax                                                       ; +0x1a2, 0x10006cf92\ncall    GameStatsManager__hasSecretCoin                                ; +0x1a5, 0x10006cf95\nmovzx   r15d, al                                                       ; +0x1aa, 0x10006cf9a\nmov     rdi, rbx                                                       ; +0x1ae, 0x10006cf9e\nmov     esi, 2                                                         ; +0x1b1, 0x10006cfa1\ncall    GJGameLevel__getCoinKey                                        ; +0x1b6, 0x10006cfa6\nmov     rdi, r14                                                       ; +0x1bb, 0x10006cfab\nmov     rsi, rax                                                       ; +0x1be, 0x10006cfae\ncall    GameStatsManager__hasSecretCoin                                ; +0x1c1, 0x10006cfb1\nmovzx   r12d, al                                                       ; +0x1c6, 0x10006cfb6\nadd     r12d, r15d                                                     ; +0x1ca, 0x10006cfba\nmov     rdi, rbx                                                       ; +0x1cd, 0x10006cfbd\nmov     esi, 3                                                         ; +0x1d0, 0x10006cfc0\ncall    GJGameLevel__getCoinKey                                        ; +0x1d5, 0x10006cfc5\nmov     rdi, r14                                                       ; +0x1da, 0x10006cfca\nmov     rsi, rax                                                       ; +0x1dd, 0x10006cfcd\ncall    GameStatsManager__hasSecretCoin                                ; +0x1e0, 0x10006cfd0\nmovzx   eax, al                                                        ; +0x1e5, 0x10006cfd5\nadd     eax, r12d                                                      ; +0x1e8, 0x10006cfd8\ncvtsi2ss xmm0, eax                                                     ; +0x1eb, 0x10006cfdb\ndivss   xmm0, cs:flt_100815320                                         ; +0x1ef, 0x10006cfdf\nmovss   xmm1, cs:dword_100815014                                       ; +0x1f7, 0x10006cfe7\nmulss   xmm0, xmm1                                                     ; +0x1ff, 0x10006cfef\nroundss xmm0, xmm0, 9                                                  ; +0x203, 0x10006cff3\nminss   xmm0, xmm1                                                     ; +0x209, 0x10006cff9\ncvttss2si ebx, xmm0                                                    ; +0x20d, 0x10006cffd\ncall    GameManager__sharedState                                       ; +0x211, 0x10006d001\nlea     rsi, aGeometryAchDem_26; \"geometry.ach.demoncoin01\"            ; +0x216, 0x10006d006\njmp     loc_10006D238                                                  ; +0x21d, 0x10006d00d\nmov     rdi, rbx; jumptable 000000010006CE41 case 5003                 ; +0x222, 0x10006d012\nmov     esi, 1                                                         ; +0x225, 0x10006d015\ncall    GJGameLevel__getCoinKey                                        ; +0x22a, 0x10006d01a\nmov     rdi, r14                                                       ; +0x22f, 0x10006d01f\nmov     rsi, rax                                                       ; +0x232, 0x10006d022\ncall    GameStatsManager__hasSecretCoin                                ; +0x235, 0x10006d025\nmovzx   r15d, al                                                       ; +0x23a, 0x10006d02a\nmov     rdi, rbx                                                       ; +0x23e, 0x10006d02e\nmov     esi, 2                                                         ; +0x241, 0x10006d031\ncall    GJGameLevel__getCoinKey                                        ; +0x246, 0x10006d036\nmov     rdi, r14                                                       ; +0x24b, 0x10006d03b\nmov     rsi, rax                                                       ; +0x24e, 0x10006d03e\ncall    GameStatsManager__hasSecretCoin                                ; +0x251, 0x10006d041\nmovzx   r12d, al                                                       ; +0x256, 0x10006d046\nadd     r12d, r15d                                                     ; +0x25a, 0x10006d04a\nmov     rdi, rbx                                                       ; +0x25d, 0x10006d04d\nmov     esi, 3                                                         ; +0x260, 0x10006d050\ncall    GJGameLevel__getCoinKey                                        ; +0x265, 0x10006d055\nmov     rdi, r14                                                       ; +0x26a, 0x10006d05a\nmov     rsi, rax                                                       ; +0x26d, 0x10006d05d\ncall    GameStatsManager__hasSecretCoin                                ; +0x270, 0x10006d060\nmovzx   ebx, al                                                        ; +0x275, 0x10006d065\nadd     ebx, r12d                                                      ; +0x278, 0x10006d068\ncall    GameManager__sharedState                                       ; +0x27b, 0x10006d06b\ncvtsi2ss xmm0, ebx                                                     ; +0x280, 0x10006d070\ndivss   xmm0, cs:flt_100815320                                         ; +0x284, 0x10006d074\nmulss   xmm0, cs:dword_100815014                                       ; +0x28c, 0x10006d07c\nroundss xmm0, xmm0, 9                                                  ; +0x294, 0x10006d084\ncvttss2si edx, xmm0                                                    ; +0x29a, 0x10006d08a\nlea     rsi, aGeometryAchTow_1; \"geometry.ach.tower03Coin\"             ; +0x29e, 0x10006d08e\njmp     loc_10006D1A5                                                  ; +0x2a5, 0x10006d095\nmov     rdi, rbx; jumptable 000000010006CE41 case 5004                 ; +0x2aa, 0x10006d09a\nmov     esi, 1                                                         ; +0x2ad, 0x10006d09d\ncall    GJGameLevel__getCoinKey                                        ; +0x2b2, 0x10006d0a2\nmov     rdi, r14                                                       ; +0x2b7, 0x10006d0a7\nmov     rsi, rax                                                       ; +0x2ba, 0x10006d0aa\ncall    GameStatsManager__hasSecretCoin                                ; +0x2bd, 0x10006d0ad\nmovzx   r15d, al                                                       ; +0x2c2, 0x10006d0b2\nmov     rdi, rbx                                                       ; +0x2c6, 0x10006d0b6\nmov     esi, 2                                                         ; +0x2c9, 0x10006d0b9\ncall    GJGameLevel__getCoinKey                                        ; +0x2ce, 0x10006d0be\nmov     rdi, r14                                                       ; +0x2d3, 0x10006d0c3\nmov     rsi, rax                                                       ; +0x2d6, 0x10006d0c6\ncall    GameStatsManager__hasSecretCoin                                ; +0x2d9, 0x10006d0c9\nmovzx   r12d, al                                                       ; +0x2de, 0x10006d0ce\nadd     r12d, r15d                                                     ; +0x2e2, 0x10006d0d2\nmov     rdi, rbx                                                       ; +0x2e5, 0x10006d0d5\nmov     esi, 3                                                         ; +0x2e8, 0x10006d0d8\ncall    GJGameLevel__getCoinKey                                        ; +0x2ed, 0x10006d0dd\nmov     rdi, r14                                                       ; +0x2f2, 0x10006d0e2\nmov     rsi, rax                                                       ; +0x2f5, 0x10006d0e5\ncall    GameStatsManager__hasSecretCoin                                ; +0x2f8, 0x10006d0e8\nmovzx   ebx, al                                                        ; +0x2fd, 0x10006d0ed\nadd     ebx, r12d                                                      ; +0x300, 0x10006d0f0\ncall    GameManager__sharedState                                       ; +0x303, 0x10006d0f3\ncvtsi2ss xmm0, ebx                                                     ; +0x308, 0x10006d0f8\ndivss   xmm0, cs:flt_100815320                                         ; +0x30c, 0x10006d0fc\nmulss   xmm0, cs:dword_100815014                                       ; +0x314, 0x10006d104\nroundss xmm0, xmm0, 9                                                  ; +0x31c, 0x10006d10c\ncvttss2si edx, xmm0                                                    ; +0x322, 0x10006d112\nlea     rsi, aGeometryAchTow_2; \"geometry.ach.tower04Coin\"             ; +0x326, 0x10006d116\njmp     loc_10006D1A5                                                  ; +0x32d, 0x10006d11d\nmov     rdi, rbx; jumptable 000000010006CE41 case 5002                 ; +0x332, 0x10006d122\nmov     esi, 1                                                         ; +0x335, 0x10006d125\ncall    GJGameLevel__getCoinKey                                        ; +0x33a, 0x10006d12a\nmov     rdi, r14                                                       ; +0x33f, 0x10006d12f\nmov     rsi, rax                                                       ; +0x342, 0x10006d132\ncall    GameStatsManager__hasSecretCoin                                ; +0x345, 0x10006d135\nmovzx   r15d, al                                                       ; +0x34a, 0x10006d13a\nmov     rdi, rbx                                                       ; +0x34e, 0x10006d13e\nmov     esi, 2                                                         ; +0x351, 0x10006d141\ncall    GJGameLevel__getCoinKey                                        ; +0x356, 0x10006d146\nmov     rdi, r14                                                       ; +0x35b, 0x10006d14b\nmov     rsi, rax                                                       ; +0x35e, 0x10006d14e\ncall    GameStatsManager__hasSecretCoin                                ; +0x361, 0x10006d151\nmovzx   r12d, al                                                       ; +0x366, 0x10006d156\nadd     r12d, r15d                                                     ; +0x36a, 0x10006d15a\nmov     rdi, rbx                                                       ; +0x36d, 0x10006d15d\nmov     esi, 3                                                         ; +0x370, 0x10006d160\ncall    GJGameLevel__getCoinKey                                        ; +0x375, 0x10006d165\nmov     rdi, r14                                                       ; +0x37a, 0x10006d16a\nmov     rsi, rax                                                       ; +0x37d, 0x10006d16d\ncall    GameStatsManager__hasSecretCoin                                ; +0x380, 0x10006d170\nmovzx   ebx, al                                                        ; +0x385, 0x10006d175\nadd     ebx, r12d                                                      ; +0x388, 0x10006d178\ncall    GameManager__sharedState                                       ; +0x38b, 0x10006d17b\ncvtsi2ss xmm0, ebx                                                     ; +0x390, 0x10006d180\ndivss   xmm0, cs:flt_100815320                                         ; +0x394, 0x10006d184\nmulss   xmm0, cs:dword_100815014                                       ; +0x39c, 0x10006d18c\nroundss xmm0, xmm0, 9                                                  ; +0x3a4, 0x10006d194\ncvttss2si edx, xmm0                                                    ; +0x3aa, 0x10006d19a\nlea     rsi, aGeometryAchTow_0; \"geometry.ach.tower02Coin\"             ; +0x3ae, 0x10006d19e\nmov     rdi, rax                                                       ; +0x3b5, 0x10006d1a5\njmp     loc_10006D23D                                                  ; +0x3b8, 0x10006d1a8\nmov     rdi, rbx                                                       ; +0x3bd, 0x10006d1ad\nmov     esi, 1                                                         ; +0x3c0, 0x10006d1b0\ncall    GJGameLevel__getCoinKey                                        ; +0x3c5, 0x10006d1b5\nmov     rdi, r14                                                       ; +0x3ca, 0x10006d1ba\nmov     rsi, rax                                                       ; +0x3cd, 0x10006d1bd\ncall    GameStatsManager__hasSecretCoin                                ; +0x3d0, 0x10006d1c0\nmovzx   r15d, al                                                       ; +0x3d5, 0x10006d1c5\nmov     rdi, rbx                                                       ; +0x3d9, 0x10006d1c9\nmov     esi, 2                                                         ; +0x3dc, 0x10006d1cc\ncall    GJGameLevel__getCoinKey                                        ; +0x3e1, 0x10006d1d1\nmov     rdi, r14                                                       ; +0x3e6, 0x10006d1d6\nmov     rsi, rax                                                       ; +0x3e9, 0x10006d1d9\ncall    GameStatsManager__hasSecretCoin                                ; +0x3ec, 0x10006d1dc\nmovzx   r12d, al                                                       ; +0x3f1, 0x10006d1e1\nadd     r12d, r15d                                                     ; +0x3f5, 0x10006d1e5\nmov     rdi, rbx                                                       ; +0x3f8, 0x10006d1e8\nmov     esi, 3                                                         ; +0x3fb, 0x10006d1eb\ncall    GJGameLevel__getCoinKey                                        ; +0x400, 0x10006d1f0\nmov     rdi, r14                                                       ; +0x405, 0x10006d1f5\nmov     rsi, rax                                                       ; +0x408, 0x10006d1f8\ncall    GameStatsManager__hasSecretCoin                                ; +0x40b, 0x10006d1fb\nmovzx   eax, al                                                        ; +0x410, 0x10006d200\nadd     eax, r12d                                                      ; +0x413, 0x10006d203\ncvtsi2ss xmm0, eax                                                     ; +0x416, 0x10006d206\ndivss   xmm0, cs:flt_100815320                                         ; +0x41a, 0x10006d20a\nmovss   xmm1, cs:dword_100815014                                       ; +0x422, 0x10006d212\nmulss   xmm0, xmm1                                                     ; +0x42a, 0x10006d21a\nroundss xmm0, xmm0, 9                                                  ; +0x42e, 0x10006d21e\nminss   xmm0, xmm1                                                     ; +0x434, 0x10006d224\ncvttss2si ebx, xmm0                                                    ; +0x438, 0x10006d228\ncall    GameManager__sharedState                                       ; +0x43c, 0x10006d22c\nlea     rsi, aGeometryAchDem_27; \"geometry.ach.demoncoin02\"            ; +0x441, 0x10006d231\nmov     rdi, rax                                                       ; +0x448, 0x10006d238\nmov     edx, ebx                                                       ; +0x44b, 0x10006d23b\nxor     ecx, ecx                                                       ; +0x44d, 0x10006d23d\npop     rbx                                                            ; +0x44f, 0x10006d23f\npop     r12                                                            ; +0x450, 0x10006d240\npop     r14                                                            ; +0x452, 0x10006d242\npop     r15                                                            ; +0x454, 0x10006d244\npop     rbp                                                            ; +0x456, 0x10006d246\njmp     GameManager__reportAchievementWithID                           ; +0x457, 0x10006d247", "xrefs": ["PlayLayer::levelComplete @ 0x1000b3d3e", "GameManager::dataLoaded @ 0x10038a35e", "GameManager::dataLoaded @ 0x10038a385", "GameManager::dataLoaded @ 0x10038a3ac"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}