{"type": "func", "start": 4298832152, "end": 4298832188, "name": "GameManager::unlockTypeToIconType", "pseudocode": "// \n// GameManager::unlockTypeToIconType from 0x1003af918 to 0x1003af93c (36 bytes)\n// \n// 4 xrefs:\n// > GJItemIcon::init @ 0x1003a4980\n// > ItemInfoPopup::init @ 0x1003a5430\n// > GameManager::completedAchievement @ 0x1003b0498\n// > GameManager::resetAchievement @ 0x1003b0588\n// \n// This function is hookable on this platform (idp: arm, 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 11:03:53 +0000\n// \n\n__int64 __fastcall GameManager::unlockTypeToIconType(__int64 a1, int a2)\n{\n  if ( (unsigned int)(a2 - 4) > 0xB )\n    return 0;\n  else\n    return dword_10076DF54[a2 - 4];\n}", "assembly": "; \n; GameManager::unlockTypeToIconType from 0x1003af918 to 0x1003af93c (36 bytes)\n; \n; 4 xrefs:\n; > GJItemIcon::init @ 0x1003a4980\n; > ItemInfoPopup::init @ 0x1003a5430\n; > GameManager::completedAchievement @ 0x1003b0498\n; > GameManager::resetAchievement @ 0x1003b0588\n; \n; This function is hookable on this platform (idp: arm, 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 11:03:53 +0000\n; \nSUB             W8, W1, #4                                             ; +0x0, 0x1003af918\nCMP             W8, #0xB                                               ; +0x4, 0x1003af91c\nB.HI            loc_1003AF934                                          ; +0x8, 0x1003af920\nADRL            X9, dword_10076DF54                                    ; +0xc, 0x1003af924\nLDR             W0, [X9,W8,UXTW#2]                                     ; +0x14, 0x1003af92c\nRET                                                                    ; +0x18, 0x1003af930\nMOV             W0, #0                                                 ; +0x1c, 0x1003af934\nRET                                                                    ; +0x20, 0x1003af938", "xrefs": ["GJItemIcon::init @ 0x1003a4980", "ItemInfoPopup::init @ 0x1003a5430", "GameManager::completedAchievement @ 0x1003b0498", "GameManager::resetAchievement @ 0x1003b0588"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}