{"type": "func", "start": 7389120, "end": 7389156, "name": "GJGameLevel::demonIconForDifficulty", "pseudocode": "// \n// GJGameLevel::demonIconForDifficulty from 0x70bfc0 to 0x70bfe4 (36 bytes)\n// \n// 3 xrefs:\n// > LevelCell::loadCustomLevelCell @ 0x611aec\n// > LevelInfoLayer::updateLabelValues @ 0x6da34c\n// > <???> @ 0x78e28\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 GJGameLevel::demonIconForDifficulty(DemonDifficultyType a1)\n{\n  unsigned __int32 v1; // w1\n  int result; // w0\n\n  v1 = a1 - 3;\n  result = 6;\n  if ( v1 <= 3 )\n    return dword_ECAEB0[v1 + 8];\n  return result;\n}", "assembly": "; \n; GJGameLevel::demonIconForDifficulty from 0x70bfc0 to 0x70bfe4 (36 bytes)\n; \n; 3 xrefs:\n; > LevelCell::loadCustomLevelCell @ 0x611aec\n; > LevelInfoLayer::updateLabelValues @ 0x6da34c\n; > <???> @ 0x78e28\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             W1, W0, #3                                             ; +0x0, 0x70bfc0\nMOV             W0, #6                                                 ; +0x4, 0x70bfc4\nCMP             W1, #3                                                 ; +0x8, 0x70bfc8\nB.HI            locret_70BFE0                                          ; +0xc, 0x70bfcc\nADRL            X2, dword_ECAEB0                                       ; +0x10, 0x70bfd0\nADD             X1, X2, W1,UXTW#2                                      ; +0x18, 0x70bfd8\nLDR             W0, [X1,#0x20]                                         ; +0x1c, 0x70bfdc\nRET                                                                    ; +0x20, 0x70bfe0", "xrefs": ["LevelCell::loadCustomLevelCell @ 0x611aec", "LevelInfoLayer::updateLabelValues @ 0x6da34c", "<???> @ 0x78e28"], "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"}