{"type": "func", "start": 4295838168, "end": 4295838192, "name": "GJGameLevel::demonIconForDifficulty", "pseudocode": "// \n// GJGameLevel::demonIconForDifficulty from 0x1000d49d8 to 0x1000d49f0 (24 bytes)\n// \n// 2 xrefs:\n// > LevelInfoLayer::updateLabelValues @ 0x10002d008\n// > LevelCell::loadCustomLevelCell @ 0x10013495c\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 10:58:55 +0000\n// \n\n__int64 __fastcall GJGameLevel::demonIconForDifficulty(int a1)\n{\n  if ( (unsigned int)(a1 - 3) >= 4 )\n    return 6;\n  else\n    return (unsigned int)(a1 + 4);\n}", "assembly": "; \n; GJGameLevel::demonIconForDifficulty from 0x1000d49d8 to 0x1000d49f0 (24 bytes)\n; \n; 2 xrefs:\n; > LevelInfoLayer::updateLabelValues @ 0x10002d008\n; > LevelCell::loadCustomLevelCell @ 0x10013495c\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 10:58:55 +0000\n; \nSUB             W8, W0, #3                                             ; +0x0, 0x1000d49d8\nADD             W9, W0, #4                                             ; +0x4, 0x1000d49dc\nCMP             W8, #4                                                 ; +0x8, 0x1000d49e0\nMOV             W8, #6                                                 ; +0xc, 0x1000d49e4\nCSEL            W0, W9, W8, CC                                         ; +0x10, 0x1000d49e8\nRET                                                                    ; +0x14, 0x1000d49ec", "xrefs": ["LevelInfoLayer::updateLabelValues @ 0x10002d008", "LevelCell::loadCustomLevelCell @ 0x10013495c"], "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"}