{"type": "func", "start": 3971352, "end": 3971374, "name": "GJGameLevel::demonIconForDifficulty", "pseudocode": "// \n// GJGameLevel::demonIconForDifficulty from 0x3c9918 to 0x3c992e (22 bytes)\n// \n// 2 xrefs:\n// > LevelCell::loadCustomLevelCell @ 0x33268a\n// > LevelInfoLayer::updateLabelValues @ 0x3b2f3a\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; // r0\n\n  v1 = a1 - 3;\n  if ( v1 > 3 )\n    return 6;\n  else\n    return a0123456789abcd_1[v1 + 72];\n}", "assembly": "; \n; GJGameLevel::demonIconForDifficulty from 0x3c9918 to 0x3c992e (22 bytes)\n; \n; 2 xrefs:\n; > LevelCell::loadCustomLevelCell @ 0x33268a\n; > LevelInfoLayer::updateLabelValues @ 0x3b2f3a\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\nSUBS            R0, #3                                                 ; +0x0, 0x3c9918\nCMP             R0, #3                                                 ; +0x2, 0x3c991a\nBHI             loc_3C992A                                             ; +0x4, 0x3c991c\nLDR             R3, =(a0123456789abcd_1 - 0x3C9924); \"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabc\"... ; +0x6, 0x3c991e\nADD             R3, PC; \"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabc\"...   ; +0x8, 0x3c9920\nADD             R0, R3                                                 ; +0xa, 0x3c9922\nLDRSB.W         R0, [R0,#0x48]                                         ; +0xc, 0x3c9924\nBX              LR                                                     ; +0x10, 0x3c9928\nMOVS            R0, #6                                                 ; +0x12, 0x3c992a\nBX              LR                                                     ; +0x14, 0x3c992c", "xrefs": ["LevelCell::loadCustomLevelCell @ 0x33268a", "LevelInfoLayer::updateLabelValues @ 0x3b2f3a"], "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"}