{"type": "func", "start": 4300784384, "end": 4300784407, "name": "GJGameLevel::demonIconForDifficulty", "pseudocode": "// \n// GJGameLevel::demonIconForDifficulty from 0x10058c300 to 0x10058c317 (23 bytes)\n// \n// 2 xrefs:\n// > LevelCell::loadCustomLevelCell @ 0x100238a71\n// > LevelInfoLayer::updateLabelValues @ 0x1002afd13\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:32:24 +0000\n// \n\n__int64 __fastcall GJGameLevel::demonIconForDifficulty(int a1)\n{\n  __int64 result; // rax\n\n  result = 6;\n  if ( (unsigned int)(a1 - 3) < 4 )\n    return (unsigned int)(a1 + 4);\n  return result;\n}", "assembly": "; \n; GJGameLevel::demonIconForDifficulty from 0x10058c300 to 0x10058c317 (23 bytes)\n; \n; 2 xrefs:\n; > LevelCell::loadCustomLevelCell @ 0x100238a71\n; > LevelInfoLayer::updateLabelValues @ 0x1002afd13\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:32:24 +0000\n; \npush    rbp                                                            ; +0x0, 0x10058c300\nmov     rbp, rsp                                                       ; +0x1, 0x10058c301\nlea     eax, [rdi-3]                                                   ; +0x4, 0x10058c304\nlea     ecx, [rdi+4]                                                   ; +0x7, 0x10058c307\ncmp     eax, 4                                                         ; +0xa, 0x10058c30a\nmov     eax, 6                                                         ; +0xd, 0x10058c30d\ncmovb   eax, ecx                                                       ; +0x12, 0x10058c312\npop     rbp                                                            ; +0x15, 0x10058c315\nretn                                                                   ; +0x16, 0x10058c316", "xrefs": ["LevelCell::loadCustomLevelCell @ 0x100238a71", "LevelInfoLayer::updateLabelValues @ 0x1002afd13"], "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"}