{"type": "func", "start": 4295192784, "end": 4295192804, "name": "GameStatsManager::getBaseDiamonds", "pseudocode": "// \n// GameStatsManager::getBaseDiamonds from 0x1000370d0 to 0x1000370e4 (20 bytes)\n// \n// 2 xrefs:\n// > LevelCell::loadCustomLevelCell @ 0x100238e8b\n// > LevelInfoLayer::setupLevelInfo @ 0x1002ad918\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:32 +0000\n// \n\n__int64 __fastcall GameStatsManager::getBaseDiamonds(__int64 a1, int a2)\n{\n  __int64 result; // rax\n\n  result = 0;\n  if ( (unsigned int)(a2 - 11) >= 0xFFFFFFF7 )\n    return (unsigned int)(a2 + 2);\n  return result;\n}", "assembly": "; \n; GameStatsManager::getBaseDiamonds from 0x1000370d0 to 0x1000370e4 (20 bytes)\n; \n; 2 xrefs:\n; > LevelCell::loadCustomLevelCell @ 0x100238e8b\n; > LevelInfoLayer::setupLevelInfo @ 0x1002ad918\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:32 +0000\n; \npush    rbp                                                            ; +0x0, 0x1000370d0\nmov     rbp, rsp                                                       ; +0x1, 0x1000370d1\nlea     ecx, [rsi-0Bh]                                                 ; +0x4, 0x1000370d4\nlea     edx, [rsi+2]                                                   ; +0x7, 0x1000370d7\nxor     eax, eax                                                       ; +0xa, 0x1000370da\ncmp     ecx, 0FFFFFFF7h                                                ; +0xc, 0x1000370dc\ncmovnb  eax, edx                                                       ; +0xf, 0x1000370df\npop     rbp                                                            ; +0x12, 0x1000370e2\nretn                                                                   ; +0x13, 0x1000370e3", "xrefs": ["LevelCell::loadCustomLevelCell @ 0x100238e8b", "LevelInfoLayer::setupLevelInfo @ 0x1002ad918"], "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"}