{"type": "func", "start": 4300601104, "end": 4300601127, "name": "GJGameLevel::demonIconForDifficulty", "pseudocode": "// \n// GJGameLevel::demonIconForDifficulty from 0x10055f710 to 0x10055f727 (23 bytes)\n// \n// 2 xrefs:\n// > LevelCell::loadCustomLevelCell @ 0x100250529\n// > LevelInfoLayer::updateLabelValues @ 0x1002c31e7\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  int result; // eax\n\n  result = 6;\n  if ( (unsigned int)(a1 - 3) < 4 )\n    return a1 + 4;\n  return result;\n}", "assembly": "; \n; GJGameLevel::demonIconForDifficulty from 0x10055f710 to 0x10055f727 (23 bytes)\n; \n; 2 xrefs:\n; > LevelCell::loadCustomLevelCell @ 0x100250529\n; > LevelInfoLayer::updateLabelValues @ 0x1002c31e7\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\npush    rbp                                                            ; +0x0, 0x10055f710\nmov     rbp, rsp                                                       ; +0x1, 0x10055f711\nlea     eax, [rdi-3]                                                   ; +0x4, 0x10055f714\nlea     ecx, [rdi+4]                                                   ; +0x7, 0x10055f717\ncmp     eax, 4                                                         ; +0xa, 0x10055f71a\nmov     eax, 6                                                         ; +0xd, 0x10055f71d\ncmovb   eax, ecx                                                       ; +0x12, 0x10055f722\npop     rbp                                                            ; +0x15, 0x10055f725\nretn                                                                   ; +0x16, 0x10055f726", "xrefs": ["LevelCell::loadCustomLevelCell @ 0x100250529", "LevelInfoLayer::updateLabelValues @ 0x1002c31e7"], "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"}