{"type": "func", "start": 4298605072, "end": 4298605100, "name": "GameManager::unlockTypeToIconType", "pseudocode": "// \n// GameManager::unlockTypeToIconType from 0x100378210 to 0x10037822c (28 bytes)\n// \n// 2 xrefs:\n// > GJItemIcon::init @ 0x10037132b\n// > ItemInfoPopup::init @ 0x100372034\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  unsigned int v2; // esi\n  IconType result; // eax\n\n  v2 = a2 - 4;\n  result = Cube;\n  if ( v2 <= 0xB )\n    return dword_10081A0D8[v2];\n  return result;\n}", "assembly": "; \n; GameManager::unlockTypeToIconType from 0x100378210 to 0x10037822c (28 bytes)\n; \n; 2 xrefs:\n; > GJItemIcon::init @ 0x10037132b\n; > ItemInfoPopup::init @ 0x100372034\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, 0x100378210\nmov     rbp, rsp                                                       ; +0x1, 0x100378211\nadd     esi, 0FFFFFFFCh                                                ; +0x4, 0x100378214\nxor     eax, eax                                                       ; +0x7, 0x100378217\ncmp     esi, 0Bh                                                       ; +0x9, 0x100378219\nja      short loc_10037822A                                            ; +0xc, 0x10037821c\nmov     eax, esi                                                       ; +0xe, 0x10037821e\nlea     rcx, dword_10081A0D8                                           ; +0x10, 0x100378220\nmov     eax, [rcx+rax*4]                                               ; +0x17, 0x100378227\npop     rbp                                                            ; +0x1a, 0x10037822a\nretn                                                                   ; +0x1b, 0x10037822b", "xrefs": ["GJItemIcon::init @ 0x10037132b", "ItemInfoPopup::init @ 0x100372034"], "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"}