{"type": "func", "start": 4295542096, "end": 4295542164, "name": "GameStatsManager::shouldAwardSecretKey", "pseudocode": "// \n// GameStatsManager::shouldAwardSecretKey from 0x10008c550 to 0x10008c594 (68 bytes)\n// \n// 0 xrefs:\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\nbool __fastcall GameStatsManager::shouldAwardSecretKey(GameStatsManager *a1)\n{\n  __m128 v1; // xmm1\n\n  v1.f32[0] = (float)GameStatsManager::getStat(a1, \"22\") / 500.0;\n  return _mm_round_ss(v1, v1, 9).f32[0] > (float)(a1->m_bonusKey.random - a1->m_bonusKey.seed);\n}", "assembly": "; \n; GameStatsManager::shouldAwardSecretKey from 0x10008c550 to 0x10008c594 (68 bytes)\n; \n; 0 xrefs:\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, 0x10008c550\nmov     rbp, rsp                                                       ; +0x1, 0x10008c551\npush    rbx                                                            ; +0x4, 0x10008c554\npush    rax                                                            ; +0x5, 0x10008c555\nmov     rbx, rdi                                                       ; +0x6, 0x10008c556\nlea     rsi, a22; \"22\"                                                 ; +0x9, 0x10008c559\ncall    GameStatsManager__getStat                                      ; +0x10, 0x10008c560\nmov     ecx, [rbx+2F8h]                                                ; +0x15, 0x10008c565\nsub     ecx, [rbx+2FCh]                                                ; +0x1b, 0x10008c56b\ncvtsi2ss xmm0, ecx                                                     ; +0x21, 0x10008c571\ncvtsi2ss xmm1, eax                                                     ; +0x25, 0x10008c575\ndivss   xmm1, cs:dword_100815718                                       ; +0x29, 0x10008c579\nroundss xmm1, xmm1, 9                                                  ; +0x31, 0x10008c581\nucomiss xmm1, xmm0                                                     ; +0x37, 0x10008c587\nsetnbe  al                                                             ; +0x3a, 0x10008c58a\nadd     rsp, 8                                                         ; +0x3d, 0x10008c58d\npop     rbx                                                            ; +0x41, 0x10008c591\npop     rbp                                                            ; +0x42, 0x10008c592\nretn                                                                   ; +0x43, 0x10008c593", "xrefs": [], "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"}