{"type": "func", "start": 4295175616, "end": 4295175699, "name": "GameStatsManager::getDemonLevelKey", "pseudocode": "// \n// GameStatsManager::getDemonLevelKey from 0x100032dc0 to 0x100032e13 (83 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::getDemonLevelKey(__int64 a1, __int64 a2)\n{\n  char *v2; // rdi\n  __int64 v3; // 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      v2 = \"gdemon_%i\";\n    else\n      v2 = \"demon_%i\";\n  }\n  else\n  {\n    v2 = \"ddemon_%i\";\n  }\n  v3 = sub_10088E820(v2, savedregs);\n  return cocos2d::CCString::getCString(v3);\n}", "assembly": "; \n; GameStatsManager::getDemonLevelKey from 0x100032dc0 to 0x100032e13 (83 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, 0x100032dc0\nmov     rbp, rsp                                                       ; +0x1, 0x100032dc1\nmov     rax, rsi                                                       ; +0x4, 0x100032dc4\nmov     esi, [rsi+398h]                                                ; +0x7, 0x100032dc7\nsub     esi, [rax+39Ch]                                                ; +0xd, 0x100032dcd\njle     short loc_100032DDE                                            ; +0x13, 0x100032dd3\nlea     rdi, aDdemonI; \"ddemon_%i\"                                     ; +0x15, 0x100032dd5\njmp     short loc_100032E03                                            ; +0x1c, 0x100032ddc\nmov     esi, [rax+148h]                                                ; +0x1e, 0x100032dde\nsub     esi, [rax+14Ch]                                                ; +0x24, 0x100032de4\ncmp     byte ptr [rax+289h], 1                                         ; +0x2a, 0x100032dea\njnz     short loc_100032DFC                                            ; +0x31, 0x100032df1\nlea     rdi, aGdemonI; \"gdemon_%i\"                                     ; +0x33, 0x100032df3\njmp     short loc_100032E03                                            ; +0x3a, 0x100032dfa\nlea     rdi, aDemonI; \"demon_%i\"                                       ; +0x3c, 0x100032dfc\nxor     eax, eax                                                       ; +0x43, 0x100032e03\ncall    sub_10088E820                                                  ; +0x45, 0x100032e05\nmov     rdi, rax                                                       ; +0x4a, 0x100032e0a\npop     rbp                                                            ; +0x4d, 0x100032e0d\njmp     cocos2d__CCString__getCString                                  ; +0x4e, 0x100032e0e", "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"}