{"type": "func", "start": 4295175712, "end": 4295175816, "name": "GameStatsManager::getStarLevelKey", "pseudocode": "// \n// GameStatsManager::getStarLevelKey from 0x100032e20 to 0x100032e88 (104 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:19:31 +0000\n// \n\n__int64 __fastcall GameStatsManager::getStarLevelKey(__int64 a1, __int64 a2)\n{\n  __int64 v2; // rax\n  char *v4; // rdi\n  __int64 v5; // rax\n  char savedregs; // [rsp+0h] [rbp+0h]\n\n  if ( *(_DWORD *)(a2 + 920) <= *(_DWORD *)(a2 + 924) )\n  {\n    if ( *(_BYTE *)(a2 + 649) == 1 )\n      v4 = \"gstar_%i\";\n    else\n      v4 = \"star_%i\";\n    v5 = sub_10088E820(v4, savedregs);\n    return cocos2d::CCString::getCString(v5);\n  }\n  else\n  {\n    v2 = sub_10088E820(\"%s%i\", savedregs);\n    return cocos2d::CCString::getCString(v2);\n  }\n}", "assembly": "; \n; GameStatsManager::getStarLevelKey from 0x100032e20 to 0x100032e88 (104 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:19:31 +0000\n; \npush    rbp; char                                                      ; +0x0, 0x100032e20\nmov     rbp, rsp                                                       ; +0x1, 0x100032e21\nmov     edx, [rsi+398h]                                                ; +0x4, 0x100032e24\nsub     edx, [rsi+39Ch]                                                ; +0xa, 0x100032e2a\njle     short loc_100032E50                                            ; +0x10, 0x100032e30\nlea     rdi, aSI; \"%s%i\"                                               ; +0x12, 0x100032e32\nlea     rsi, __s2; \"dstar_\"                                            ; +0x19, 0x100032e39\nxor     eax, eax                                                       ; +0x20, 0x100032e40\ncall    sub_10088E820                                                  ; +0x22, 0x100032e42\nmov     rdi, rax                                                       ; +0x27, 0x100032e47\npop     rbp                                                            ; +0x2a, 0x100032e4a\njmp     cocos2d__CCString__getCString                                  ; +0x2b, 0x100032e4b\nmov     rax, rsi                                                       ; +0x30, 0x100032e50\nmov     esi, [rsi+148h]                                                ; +0x33, 0x100032e53\nsub     esi, [rax+14Ch]                                                ; +0x39, 0x100032e59\ncmp     byte ptr [rax+289h], 1                                         ; +0x3f, 0x100032e5f\njnz     short loc_100032E71                                            ; +0x46, 0x100032e66\nlea     rdi, aGstarI; \"gstar_%i\"                                       ; +0x48, 0x100032e68\njmp     short loc_100032E78                                            ; +0x4f, 0x100032e6f\nlea     rdi, aStarI; \"star_%i\"                                         ; +0x51, 0x100032e71\nxor     eax, eax                                                       ; +0x58, 0x100032e78\ncall    sub_10088E820                                                  ; +0x5a, 0x100032e7a\nmov     rdi, rax                                                       ; +0x5f, 0x100032e7f\npop     rbp                                                            ; +0x62, 0x100032e82\njmp     cocos2d__CCString__getCString                                  ; +0x63, 0x100032e83", "xrefs": [], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}