{"type": "func", "start": 4295431664, "end": 4295431684, "name": "GameStatsManager::getBaseDiamonds", "pseudocode": "// \n// GameStatsManager::getBaseDiamonds from 0x1000715f0 to 0x100071604 (20 bytes)\n// \n// 2 xrefs:\n// > LevelCell::loadCustomLevelCell @ 0x10025091a\n// > LevelInfoLayer::setupLevelInfo @ 0x1002c0a0d\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\nint __fastcall GameStatsManager::getBaseDiamonds(GameStatsManager *a1, int a2)\n{\n  int result; // eax\n\n  result = 0;\n  if ( (unsigned int)(a2 - 11) >= 0xFFFFFFF7 )\n    return a2 + 2;\n  return result;\n}", "assembly": "; \n; GameStatsManager::getBaseDiamonds from 0x1000715f0 to 0x100071604 (20 bytes)\n; \n; 2 xrefs:\n; > LevelCell::loadCustomLevelCell @ 0x10025091a\n; > LevelInfoLayer::setupLevelInfo @ 0x1002c0a0d\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, 0x1000715f0\nmov     rbp, rsp                                                       ; +0x1, 0x1000715f1\nlea     ecx, [rsi-0Bh]                                                 ; +0x4, 0x1000715f4\nlea     edx, [rsi+2]                                                   ; +0x7, 0x1000715f7\nxor     eax, eax                                                       ; +0xa, 0x1000715fa\ncmp     ecx, 0FFFFFFF7h                                                ; +0xc, 0x1000715fc\ncmovnb  eax, edx                                                       ; +0xf, 0x1000715ff\npop     rbp                                                            ; +0x12, 0x100071602\nretn                                                                   ; +0x13, 0x100071603", "xrefs": ["LevelCell::loadCustomLevelCell @ 0x10025091a", "LevelInfoLayer::setupLevelInfo @ 0x1002c0a0d"], "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"}