{"type": "func", "start": 4298968080, "end": 4298968100, "name": "GameStatsManager::getBaseDiamonds", "pseudocode": "// \n// GameStatsManager::getBaseDiamonds from 0x1003d0c10 to 0x1003d0c24 (20 bytes)\n// \n// 2 xrefs:\n// > sub_10002A788 @ 0x10002af80\n// > LevelCell::loadCustomLevelCell @ 0x100134d4c\n// \n// This function is hookable on this platform (idp: arm, 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 11:04:11 +0000\n// \n\n__int64 __fastcall GameStatsManager::getBaseDiamonds(__int64 a1, int a2)\n{\n  if ( (unsigned int)(a2 - 11) >= 0xFFFFFFF7 )\n    return (unsigned int)(a2 + 2);\n  else\n    return 0;\n}", "assembly": "; \n; GameStatsManager::getBaseDiamonds from 0x1003d0c10 to 0x1003d0c24 (20 bytes)\n; \n; 2 xrefs:\n; > sub_10002A788 @ 0x10002af80\n; > LevelCell::loadCustomLevelCell @ 0x100134d4c\n; \n; This function is hookable on this platform (idp: arm, 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 11:04:11 +0000\n; \nSUB             W8, W1, #0xB                                           ; +0x0, 0x1003d0c10\nADD             W9, W1, #2                                             ; +0x4, 0x1003d0c14\nCMN             W8, #9                                                 ; +0x8, 0x1003d0c18\nCSEL            W0, WZR, W9, CC                                        ; +0xc, 0x1003d0c1c\nRET                                                                    ; +0x10, 0x1003d0c20", "xrefs": ["sub_10002A788 @ 0x10002af80", "LevelCell::loadCustomLevelCell @ 0x100134d4c"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}