{"type": "func", "start": 4298320704, "end": 4298320724, "name": "GameStatsManager::getBaseDiamonds", "pseudocode": "// \n// GameStatsManager::getBaseDiamonds from 0x100332b40 to 0x100332b54 (20 bytes)\n// \n// 2 xrefs:\n// > LevelInfoLayer::setupLevelInfo @ 0x10002759c\n// > LevelCell::loadCustomLevelCell @ 0x10010dbbc\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  if ( (unsigned int)(a2 - 11) >= 0xFFFFFFF7 )\n    return a2 + 2;\n  else\n    return 0;\n}", "assembly": "; \n; GameStatsManager::getBaseDiamonds from 0x100332b40 to 0x100332b54 (20 bytes)\n; \n; 2 xrefs:\n; > LevelInfoLayer::setupLevelInfo @ 0x10002759c\n; > LevelCell::loadCustomLevelCell @ 0x10010dbbc\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\nSUB             W8, W1, #0xB                                           ; +0x0, 0x100332b40\nADD             W9, W1, #2                                             ; +0x4, 0x100332b44\nCMN             W8, #9                                                 ; +0x8, 0x100332b48\nCSEL            W0, WZR, W9, CC                                        ; +0xc, 0x100332b4c\nRET                                                                    ; +0x10, 0x100332b50", "xrefs": ["LevelInfoLayer::setupLevelInfo @ 0x10002759c", "LevelCell::loadCustomLevelCell @ 0x10010dbbc"], "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"}