{"type": "func", "start": 4295686288, "end": 4295686312, "name": "GJGameLevel::demonIconForDifficulty", "pseudocode": "// \n// GJGameLevel::demonIconForDifficulty from 0x1000af890 to 0x1000af8a8 (24 bytes)\n// \n// 2 xrefs:\n// > LevelInfoLayer::updateLabelValues @ 0x1000298d4\n// > LevelCell::loadCustomLevelCell @ 0x10010d828\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 GJGameLevel::demonIconForDifficulty(DemonDifficultyType a1)\n{\n  if ( (unsigned int)(a1 - 3) >= 4 )\n    return 6;\n  else\n    return a1 + 4;\n}", "assembly": "; \n; GJGameLevel::demonIconForDifficulty from 0x1000af890 to 0x1000af8a8 (24 bytes)\n; \n; 2 xrefs:\n; > LevelInfoLayer::updateLabelValues @ 0x1000298d4\n; > LevelCell::loadCustomLevelCell @ 0x10010d828\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, W0, #3                                             ; +0x0, 0x1000af890\nADD             W9, W0, #4                                             ; +0x4, 0x1000af894\nCMP             W8, #4                                                 ; +0x8, 0x1000af898\nMOV             W8, #6                                                 ; +0xc, 0x1000af89c\nCSEL            W0, W9, W8, CC                                         ; +0x10, 0x1000af8a0\nRET                                                                    ; +0x14, 0x1000af8a4", "xrefs": ["LevelInfoLayer::updateLabelValues @ 0x1000298d4", "LevelCell::loadCustomLevelCell @ 0x10010d828"], "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"}