{"type": "func", "start": 4295415488, "end": 4295415571, "name": "GameStatsManager::getStarLevelKey", "pseudocode": "// \n// GameStatsManager::getStarLevelKey from 0x10006d6c0 to 0x10006d713 (83 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\nconst char *__fastcall GameStatsManager::getStarLevelKey(GameStatsManager *a1, GJGameLevel *a2)\n{\n  char *v2; // rdi\n  cocos2d::CCString *v3; // rax\n  char savedregs; // [rsp+0h] [rbp+0h]\n\n  if ( a2->m_dailyID.random <= a2->m_dailyID.seed )\n  {\n    if ( a2->m_gauntletLevel )\n      v2 = \"gstar_%i\";\n    else\n      v2 = \"star_%i\";\n  }\n  else\n  {\n    v2 = \"dstar_%i\";\n  }\n  v3 = (cocos2d::CCString *)sub_1007AB580(v2, savedregs);\n  return cocos2d::CCString::getCString(v3);\n}", "assembly": "; \n; GameStatsManager::getStarLevelKey from 0x10006d6c0 to 0x10006d713 (83 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; char                                                      ; +0x0, 0x10006d6c0\nmov     rbp, rsp                                                       ; +0x1, 0x10006d6c1\nmov     rax, rsi                                                       ; +0x4, 0x10006d6c4\nmov     esi, [rsi+324h]                                                ; +0x7, 0x10006d6c7\nsub     esi, [rax+328h]                                                ; +0xd, 0x10006d6cd\njle     short loc_10006D6DE                                            ; +0x13, 0x10006d6d3\nlea     rdi, aDstarI; \"dstar_%i\"                                       ; +0x15, 0x10006d6d5\njmp     short loc_10006D703                                            ; +0x1c, 0x10006d6dc\nmov     esi, [rax+148h]                                                ; +0x1e, 0x10006d6de\nsub     esi, [rax+14Ch]                                                ; +0x24, 0x10006d6e4\ncmp     byte ptr [rax+281h], 1                                         ; +0x2a, 0x10006d6ea\njnz     short loc_10006D6FC                                            ; +0x31, 0x10006d6f1\nlea     rdi, aGstarI; \"gstar_%i\"                                       ; +0x33, 0x10006d6f3\njmp     short loc_10006D703                                            ; +0x3a, 0x10006d6fa\nlea     rdi, aStarI; \"star_%i\"                                         ; +0x3c, 0x10006d6fc\nxor     eax, eax                                                       ; +0x43, 0x10006d703\ncall    sub_1007AB580                                                  ; +0x45, 0x10006d705\nmov     rdi, rax                                                       ; +0x4a, 0x10006d70a\npop     rbp                                                            ; +0x4d, 0x10006d70d\njmp     cocos2d__CCString__getCString                                  ; +0x4e, 0x10006d70e", "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"}