{"type": "func", "start": 4298189828, "end": 4298189864, "name": "GameManager::unlockTypeToIconType", "pseudocode": "// \n// GameManager::unlockTypeToIconType from 0x100312c04 to 0x100312c28 (36 bytes)\n// \n// 4 xrefs:\n// > GJItemIcon::init @ 0x100307c68\n// > ItemInfoPopup::init @ 0x100308718\n// > GameManager::completedAchievement @ 0x100313784\n// > GameManager::resetAchievement @ 0x100313874\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\nIconType __fastcall GameManager::unlockTypeToIconType(GameManager *a1, int a2)\n{\n  if ( (unsigned int)(a2 - 4) > 0xB )\n    return Cube;\n  else\n    return dword_100644FFC[a2 - 4];\n}", "assembly": "; \n; GameManager::unlockTypeToIconType from 0x100312c04 to 0x100312c28 (36 bytes)\n; \n; 4 xrefs:\n; > GJItemIcon::init @ 0x100307c68\n; > ItemInfoPopup::init @ 0x100308718\n; > GameManager::completedAchievement @ 0x100313784\n; > GameManager::resetAchievement @ 0x100313874\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             W8, W1, #4                                             ; +0x0, 0x100312c04\nCMP             W8, #0xB                                               ; +0x4, 0x100312c08\nB.HI            loc_100312C20                                          ; +0x8, 0x100312c0c\nADRL            X9, dword_100644FFC                                    ; +0xc, 0x100312c10\nLDR             W0, [X9,W8,UXTW#2]                                     ; +0x14, 0x100312c18\nRET                                                                    ; +0x18, 0x100312c1c\nMOV             W0, #0                                                 ; +0x1c, 0x100312c20\nRET                                                                    ; +0x20, 0x100312c24", "xrefs": ["GJItemIcon::init @ 0x100307c68", "ItemInfoPopup::init @ 0x100308718", "GameManager::completedAchievement @ 0x100313784", "GameManager::resetAchievement @ 0x100313874"], "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"}